mirror of
https://github.com/opensiriusfox/bashrc.d.git
synced 2025-06-16 20:31:15 -07:00
Corrected error if which is loud
This commit is contained in:
parent
afc83bb6c0
commit
a606eb00c8
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date
|
|||
# IP addresses
|
||||
alias pubip="dig +short myip.opendns.com @resolver1.opendns.com"
|
||||
|
||||
if [[ "$(which ncdu)" ]]; then
|
||||
if [[ "$(which ncdu 2>/dev/null)" ]]; then
|
||||
alias dush="ncdu --color dark -rr"
|
||||
else
|
||||
alias dush="echo please 'apt install ncdu'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue