summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-zsh/config/zsh/zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 08ba28c..b4db1f4 100644
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-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