all repos — nixfiles @ b86646d0dd1be04afbfb96f4f2c0d5c2cceaa3c0

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

zsh: Use gsort in place of sort, if necessary

Alan Pearce
commit

b86646d0dd1be04afbfb96f4f2c0d5c2cceaa3c0

parent

dfbb1bb931161ee1fdb8a8fdf14fb5e15c810787

1 file changed, 3 insertions(+), 1 deletion(-)

jump to
M zsh/.config/zsh/.zshrczsh/.config/zsh/.zshrc
@@ -108,8 +108,10 @@ bindkey '\e^b' backward-argument
bindkey '\e^f' forward-argument bindkey '\e^k' kill-argument +sort=${commands[gsort]:-$commands[sort]} + ds () { - du -hd1 $1 | sort -h + du -hd1 $1 | $sort -h } # returns the first ghq root, whereas $GHQ_ROOT returns all