aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-08-17 10:35:22 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-08-17 10:42:32 +0200
commitf7160083b9672c26b60e52a42c029d12852fa097 (patch)
tree4acc45a25e6a94415eb96644bdf840cba00ff2e2 /zsh
parent19c0678424435d07abef866410b1ee895944c086 (diff)
downloaddotfiles-f7160083b9672c26b60e52a42c029d12852fa097.tar.xz
zsh/aliases: Use natural sort for ls
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh')
-rw-r--r--zsh/aliases.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh
index 4dd2100..95faa90 100644
--- a/zsh/aliases.zsh
+++ b/zsh/aliases.zsh
@@ -10,7 +10,8 @@ alias '...'='../..'
alias '....'='../../..'
ls_options=('--almost-all' '--classify' '--color=auto'
- '--human-readable' '--group-directories-first')
+ '--human-readable' '--group-directories-first'
+ '-v') # Natural sort
alias ls='\ls "${ls_options[@]}"'
alias ll='\ls "${ls_options[@]}" -l'