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