aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile.dot.link4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile.dot.link b/profile.dot.link
index 100d34f..b96c0b1 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -90,7 +90,7 @@ if [ -e "$HOME/apps/go" ]; then
fi
# Add local gems into PATH
-if which gem &> /dev/null; then
+if which gem > /dev/null 2>&1; then
LOCAL_GEMPATH="`gem environment gempath | cut -d : -f 1`/bin"
if [ -d "$LOCAL_GEMPATH" ]; then
@@ -305,7 +305,7 @@ fi
# Remove lost found folder if empty
if [ -d "$HOME/lost+found" ]; then
- rmdir $HOME/lost+found &> /dev/null
+ rmdir $HOME/lost+found > /dev/null 2>&1
fi
# Make sure basic folder structure exists