diff --git a/.bashrc b/.bashrc index 644898b0a08e2f971161040e2cca390ae90b82e9..ddbbd765e7f953e7221bb79c341fc5d8fc358eeb 100644 --- a/.bashrc +++ b/.bashrc @@ -9,7 +9,7 @@ fi # remove annoying global aliases noalias() { - x=`type $1 | grep " is aliased to "` && unalias $1 + x=`type $1 2>&1 | grep " is aliased to "` && unalias $1 } # unalias l. ll ls vi noalias l.