From: Michael Prokop Date: Tue, 21 Jan 2014 18:41:02 +0000 (+0100) Subject: zshrc: drop -b option from `ls' alias, unsupported e.g. on OpenBSD X-Git-Tag: v0.9.3~5 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=53940328c11ec553c0a4e5507abf7fdfed1266c4;hp=155d91430d5ca0ac1999501759dacc3d2fc53b35;p=grml-etc-core.git zshrc: drop -b option from `ls' alias, unsupported e.g. on OpenBSD --- diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index d4640c4..f7afc41 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -898,11 +898,10 @@ Lists files in long colored output format. : **llog** (//$PAGER /var/log/syslog//) Opens syslog in pager. -: **ls** (//ls -b -CF --color=auto//) -Lists directory printing octal escapes for nongraphic characters. -Entries are listed by columns and an indicator for file type is appended -to each file name. Additionally the output is colored, if the terminal -supports it. +: **ls** (//ls -CF --color=auto//) +Lists directory, entries are listed by columns and an indicator for +file type is appended to each file name. Additionally the output is +colored, if the terminal supports it. : **lsa** (//ls -a .*(.)//) Lists dot files in current working directory. diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 1d0f357..3c030da 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2295,8 +2295,8 @@ fi # do we have GNU ls with color-support? if [[ "$TERM" != dumb ]]; then - #a1# List files with colors (\kbd{ls -b -CF \ldots}) - alias ls='ls -b -CF '${ls_options:+"${ls_options[*]}"} + #a1# List files with colors (\kbd{ls -CF \ldots}) + alias ls='ls -CF '${ls_options:+"${ls_options[*]}"} #a1# List all files, with colors (\kbd{ls -la \ldots}) alias la='ls -la '${ls_options:+"${ls_options[*]}"} #a1# List files with long colored list, without dotfiles (\kbd{ls -l \ldots}) @@ -2306,7 +2306,7 @@ if [[ "$TERM" != dumb ]]; then #a1# List files with long colored list, append qualifier to filenames (\kbd{ls -lF \ldots})\\&\quad(\kbd{/} for directories, \kbd{@} for symlinks ...) alias l='ls -lF '${ls_options:+"${ls_options[*]}"} else - alias ls='ls -b -CF' + alias ls='ls -CF' alias la='ls -la' alias ll='ls -l' alias lh='ls -hAl'