From 53940328c11ec553c0a4e5507abf7fdfed1266c4 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 21 Jan 2014 19:41:02 +0100 Subject: [PATCH] zshrc: drop -b option from `ls' alias, unsupported e.g. on OpenBSD --- doc/grmlzshrc.t2t | 9 ++++----- etc/zsh/zshrc | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) 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' -- 2.1.4