aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorChris Lee <clee@mg8.org>2012-02-08 14:34:03 -0800
committerChris Lee <clee@mg8.org>2012-02-08 14:34:03 -0800
commit2a65d950b556a9c6ff3f4399158d146dfedcd527 (patch)
treef4a9af580e276ad4328ef139282677aafbf3765d /.aliases
parentb0c2aee67939c65be6ff273f7c636871772a32c4 (diff)
downloaddotfiles-2a65d950b556a9c6ff3f4399158d146dfedcd527.tar.gz
dotfiles-2a65d950b556a9c6ff3f4399158d146dfedcd527.tar.bz2
dotfiles-2a65d950b556a9c6ff3f4399158d146dfedcd527.zip
Shift the '-type f' argument before the '-name' argument in `find` to make it more efficient.
Diffstat (limited to '.aliases')
-rw-r--r--.aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/.aliases b/.aliases
index f81f284..b7b78f8 100644
--- a/.aliases
+++ b/.aliases
@@ -53,7 +53,7 @@ type -t md5sum > /dev/null || alias md5sum="md5"
alias c="tr -d '\n' | pbcopy"
# Recursively delete `.DS_Store` files
-alias cleanup="find . -name '*.DS_Store' -type f -ls -delete"
+alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"
# File size
alias fs="stat -f \"%z bytes\""