diff options
author | Brian Hartvigsen <brian.andrew@brianandjenny.com> | 2014-02-13 17:41:38 -0700 |
---|---|---|
committer | ncanceill <nicolas.canceill@ens-cachan.org> | 2014-05-24 19:48:36 +0200 |
commit | 5e601d6515f9ee51c733aea71acf6757066943e2 (patch) | |
tree | b23f2d68e46efefe00a65640f83d1090a439ec0a /plugins/common-aliases | |
parent | c1f5a1792be3f11f9b298a11232bc5913c8b71a2 (diff) | |
download | zsh-5e601d6515f9ee51c733aea71acf6757066943e2.tar.gz zsh-5e601d6515f9ee51c733aea71acf6757066943e2.tar.bz2 zsh-5e601d6515f9ee51c733aea71acf6757066943e2.zip |
Fix dud alias. Switch --max-depth for just -d
As far as I can tell (tested on Linux & Darwin, BSD man page seems to agree), `-d` is pretty univerally accepted as the depth argument. So instead of doing a test, we can just use -d and call it a day.
Diffstat (limited to 'plugins/common-aliases')
-rw-r--r-- | plugins/common-aliases/common-aliases.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/common-aliases/common-aliases.plugin.zsh b/plugins/common-aliases/common-aliases.plugin.zsh index 0ee17014b..228a39da0 100644 --- a/plugins/common-aliases/common-aliases.plugin.zsh +++ b/plugins/common-aliases/common-aliases.plugin.zsh @@ -38,7 +38,7 @@ alias -g NE="2> /dev/null" alias -g NUL="> /dev/null 2>&1" alias -g P="2>&1| pygmentize -l pytb" -alias dud='du --max-depth=1 -h' +alias dud='du -d 1 -h' alias duf='du -sh *' alias fd='find . -type d -name' alias ff='find . -type f -name' |