Hacker News new | ask | show | jobs
by swaits 3435 days ago
I have this at the bottom of my .zshrc just for this reason:

  # remove any .DS_Store files
  # (run in a subshell to suppress background job number info being printed)
  ( ag --hidden -u -l -g '\.DS_Store$' |xargs -n 1 rm -f & ) > /dev/null 2>&1