code_junkie

OSX - always hide certain files

Nov 13th, 2011
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. /bin/ls $@ | grep -v .DS_Store
  4.  
  5. export PATH=~/bin:$PATH
  6.  
  7. alias lv="ls -al | grep -v .DS_Store"
  8.  
  9. function lv { ls $@ | grep -v .DS_Store; }
Add Comment
Please, Sign In to add comment