summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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