diff options
Diffstat (limited to 'tag-zsh/config/zsh/zshrc')
-rw-r--r-- | tag-zsh/config/zsh/zshrc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 269d5e5..1d37e8e 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -55,8 +55,8 @@ gnu_ls_isodate="--time-style=long-iso" bsd_ls_options="-p" bsd_ls_isodate="-D '%F %k:%M'" -case $OSTYPE in - darwin*) +case $os in + darwin) if [[ -n $commands[gls] ]] then ls='\gls' @@ -67,11 +67,11 @@ case $OSTYPE in ls_isodate=$bsd_ls_isodate fi ;; - freebsd*) + freebsd) ls_options=$bsd_ls_options ls_isodate=$bsd_ls_isodate ;; - linux-gnu) + linux) ls_options=$gnu_ls_options ls_isodate=$gnu_ls_isodate ;; |