From f7160083b9672c26b60e52a42c029d12852fa097 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 17 Aug 2017 10:35:22 +0200 Subject: zsh/aliases: Use natural sort for ls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- zsh/aliases.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' -- cgit v1.2.3-70-g09d2