diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-07-02 18:09:57 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-07-02 18:09:57 +0200 |
commit | 417fef8467f0fb7a43cbe1e7f3742f2bdfc44cff (patch) | |
tree | 8c3c57d9467d8e90f9805ccefc28f6d74149fb7a /bash/bashrc | |
parent | 8f8a771e24dd50ce8091fe9d11d162904433f315 (diff) |
bash: disregard unalias errors
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/bashrc b/bash/bashrc index 4762e1b..8d7fb8b 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -31,7 +31,7 @@ alias egrep='egrep --color=auto' # XXX should this be here? stty -ixon -unalias ll lt la lh lla llh +unalias ll lt la lh lla llh 2>/dev/null ll() { ls -l "$@"; } lt() { ls -lt "$@"; } @@ -41,7 +41,7 @@ lla() { ls -lA "$@"; } llh() { ls -lAh "$@"; } # cd upwards a given number of levels -unalias cu +unalias cu 2>/dev/null cu() { local lvl=$1 @@ -72,7 +72,7 @@ __ht() fi } -unalias h t +unalias h t 2>/dev/null h() { __ht "head -32" $@; } t() { __ht "tail -32" $@; } |