Commits

Ted Naleid  committed c9f0839

updated duc alias to shorter one

  • Participants
  • Parent commits 7876972

Comments (0)

Files changed (1)

File zshrc_general

 # still need to disown manually for some reason under OSX
 alias fp="nohup /Applications/Firefox.app/Contents/MacOS/firefox -ProfileManager &"
 
-#show directory usage for all directories in the current dir
-currentDirectoryUsage() {
-    ls -d * | while read D; 
-        do du -sh "$D"
-    done;
-}
-alias duc=currentDirectoryUsage
+alias duc='du -sh *(/)'
 
 # forward requests from port 80 to 8080
 alias ipfw80to8080='sudo ipfw add 100 fwd 127.0.0.1,8080 tcp from any to any 80 in'