Checking if tree is installed.

This commit is contained in:
Rodolphe Breard 2015-11-03 00:28:43 +01:00
parent 73a75726d1
commit e881ca3844

View file

@ -3,12 +3,12 @@ alias ll='ls -lihF'
alias la='ls -A'
alias l='ll -A'
alias t='tree'
alias sudo='sudo '
alias grep='grep -n --color=auto'
alias j='jobs'
alias df='df -h'
alias du='du -ch'
hash tree 2>/dev/null && alias t='tree'
hash htop 2>/dev/null && alias top='htop'
hash xscreensaver-command 2>/dev/null && alias lock='xscreensaver-command --lock'
hash sqlmap 2>/dev/null && alias sqlmap='sqlmap --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"'