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
commit06255c71ff96cedd8718b9453f1b8c6370b83ea9 (patch)
tree2ceff61788d1c9f303e7ce4c732aac2d9ce2d195
parente8f1e4eae9725085929d19cba4d36dda809c8a89 (diff)
downloaddotfiles-06255c71ff96cedd8718b9453f1b8c6370b83ea9.tar
dotfiles-06255c71ff96cedd8718b9453f1b8c6370b83ea9.tar.zst
dotfiles-06255c71ff96cedd8718b9453f1b8c6370b83ea9.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