all repos — nixfiles @ ea425580408e9a01b0b05e98acb1177e7176b750

System and user configuration, managed by nix and home-manager

zsh: Add ds (directory size) function Shows size of subfolders, largest at the bottom. Easy to explore with.

Alan Pearce
commit

ea425580408e9a01b0b05e98acb1177e7176b750

parent

33a879120f966608107829cd94daa16aaf53eee4

1 file changed, 4 insertions(+), 0 deletions(-)

jump to
M tag-zsh/config/zsh/zshrctag-zsh/config/zsh/zshrc
@@ -87,6 +87,10 @@ bindkey '\e^b' backward-argument
bindkey '\e^f' forward-argument bindkey '\e^k' kill-argument +ds () { + du -hd1 $1 | sort -h +} + zle -C hist-complete complete-word _generic zstyle ':completion:hist-complete:*' completer _history bindkey '\e ' hist-complete