aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-01-09 10:27:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-01-09 10:27:07 -0300
commit67f53c4c611a054efd007448650e631b45b38e83 (patch)
treeff292873fb46575613b641843c3e86252d20846b
parentfa14d9efa93250f809ffd31fead67188f1b9af3e (diff)
downloadprofile-67f53c4c611a054efd007448650e631b45b38e83.tar.gz
profile-67f53c4c611a054efd007448650e631b45b38e83.tar.bz2
Fix: redirections
-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