From 1afb2e936f4dc6eb5585c2cba8248906bfb3d0d0 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 6 May 2008 10:48:03 +0100 Subject: [PATCH] POSIX collation for ls --- .zsh/zshrc/30_aliases | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' -- 2.39.5