Escaping some characters.

This commit is contained in:
staticsafe 2012-01-11 19:19:14 -05:00
parent f6b7d2d16f
commit 0ddedd5b61
1 changed files with 1 additions and 1 deletions

2
.zshrc
View File

@ -22,6 +22,6 @@ setopt inc_append_history
#aliases
alias rmdir='rm -r'
alias sl='ls'
alias octalperm="ls -l | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf("%0o ",k);print}'"
alias octalperm="ls -l | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(\"%0o \",k);print}'"
alias myip="wget -qO- ifconfig.me/ip"
alias memoryhog="ps aux | sort -nk +4 | tail"