diff options
author | Alan Pearce | 2020-02-27 11:01:22 +0100 |
---|---|---|
committer | Alan Pearce | 2020-02-27 11:01:22 +0100 |
commit | ff93bb2dc1cd3a28ebbf17b8beff205a13d6980b (patch) | |
tree | 6d491532f7004e8b69dfb691a14920af98e8ddb7 | |
parent | b3658308fbef6cdc33b14264d33f00d3023b42ac (diff) | |
download | nixfiles-ff93bb2dc1cd3a28ebbf17b8beff205a13d6980b.tar.lz nixfiles-ff93bb2dc1cd3a28ebbf17b8beff205a13d6980b.tar.zst nixfiles-ff93bb2dc1cd3a28ebbf17b8beff205a13d6980b.zip |
zsh: make ds() safer
-rw-r--r-- | user/zsh/.config/zsh/.zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/zsh/.config/zsh/.zshrc b/user/zsh/.config/zsh/.zshrc index d2ed1807..22e28528 100644 --- a/user/zsh/.config/zsh/.zshrc +++ b/user/zsh/.config/zsh/.zshrc @@ -53,7 +53,7 @@ bindkey '\e^k' kill-argument sort=${commands[gsort]:-$commands[sort]} ds () { - du -hd1 $1 | $sort -h + du -hd1 "$@" | $sort -h } # returns the first ghq root, whereas $GHQ_ROOT returns all |