From: martin f. krafft Date: Tue, 6 May 2008 09:48:03 +0000 (+0100) Subject: POSIX collation for ls X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/1afb2e936f4dc6eb5585c2cba8248906bfb3d0d0?ds=inline;pf=etc POSIX collation for ls --- diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index 0de5510..aa2562c 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -22,7 +22,8 @@ alias wb='noglob www-browser' _LS_OPTS='-bCF --color=auto' ls --group-directories-first >/dev/null 2>&1 \ && _LS_OPTS="$_LS_OPTS --group-directories-first" -alias ls="ls $_LS_OPTS" +# I prefer POSIX collation for ls +alias ls="LC_COLLATE=POSIX ls $_LS_OPTS" unset _LS_OPTS alias ll='ls -l'