summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-06-24 20:00:11 +0200
committerxengineering <me@xengineering.eu>2024-06-24 20:00:11 +0200
commitf0b8e07e7a74f4c9732f22241a4875096db0f422 (patch)
tree2ceff61788d1c9f303e7ce4c732aac2d9ce2d195
parent2caf61b7dceebc12f13addb619ef14836b433bae (diff)
downloaddotfiles-f0b8e07e7a74f4c9732f22241a4875096db0f422.tar
dotfiles-f0b8e07e7a74f4c9732f22241a4875096db0f422.tar.zst
dotfiles-f0b8e07e7a74f4c9732f22241a4875096db0f422.zip
bash: Fix some shellcheck-detected issues
-rw-r--r--.bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 3e1966c..675ac57 100644
--- a/.bashrc
+++ b/.bashrc
@@ -6,7 +6,7 @@
# variables
-GOPATH=$HOME/go
+export GOPATH=$HOME/go
export EDITOR=nvim
PROGRAMS='
aerc
@@ -38,7 +38,7 @@ do
then
continue
fi
- if ! command -v "$program" 2>&1 > /dev/null
+ if ! command -v "$program" > /dev/null 2>&1
then
echo "Program is missing: '$program'"
fi