From 67f53c4c611a054efd007448650e631b45b38e83 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 9 Jan 2022 10:27:07 -0300 Subject: Fix: redirections --- profile.dot.link | 4 ++-- 1 file 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 -- cgit v1.2.3