diff options
Diffstat (limited to 'functions/rsmac.fish')
| -rw-r--r-- | functions/rsmac.fish | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/functions/rsmac.fish b/functions/rsmac.fish index f0d3e49..826f7dc 100644 --- a/functions/rsmac.fish +++ b/functions/rsmac.fish @@ -1,10 +1,5 @@ function rsmac --description 'Recursively delete all .DS_Store files' -if not command -sq 'find' - echo "Can't find find." - return 1 -end - -find . -type f -name '.DS_Store' -delete +command find . -type f -name '.DS_Store' -delete end |
