Checking if xscreensaver is installed before creating the lock alias.
This commit is contained in:
parent
344b86834d
commit
7bb8787b71
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.zshrc
|
@ -60,7 +60,7 @@ 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'
|
||||||
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)"'
|
||||||
hash sqlmap 2>/dev/null && alias sqlmap-tor='sqlmap --tor --tor-type=SOCKS5'
|
hash sqlmap 2>/dev/null && alias sqlmap-tor='sqlmap --tor --tor-type=SOCKS5'
|
||||||
hash steam 2>/dev/null && alias steam='find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete; steam'
|
hash steam 2>/dev/null && alias steam='find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete; steam'
|
||||||
|
|
Loading…
Reference in a new issue