From 0ddedd5b614b07f899f83b8495e7420be25d122c Mon Sep 17 00:00:00 2001 From: staticsafe Date: Wed, 11 Jan 2012 19:19:14 -0500 Subject: [PATCH] Escaping some characters. --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index b07a7ba..d1853d0 100644 --- a/.zshrc +++ b/.zshrc @@ -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" \ No newline at end of file