From: tfheen Date: Sat, 19 Oct 2002 21:20:13 +0000 (+0000) Subject: fix ls alias X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c11d67599ea67b8e635187f9a8ac437168e97cab;p=dotfiles fix ls alias git-svn-id: file:///svn/tfheen/trunk/dotfiles@81 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/bashrc b/bashrc index fa23a27..2f7b5ca 100644 --- a/bashrc +++ b/bashrc @@ -17,6 +17,7 @@ fi if [ -f "$HOME/.environment" ]; then . $HOME/.environment fi +alias ls="ls $LS_OPTIONS" ATTR_FET="\[\033[1m\]" ATTR_UND="\[\033[4m\]" @@ -25,10 +26,8 @@ ATTR_AV="\[\033[m\]" case $TERM in linux|xterm|ansi|linux-lat) export PS1=": ${ATTR_FET}\u@\h \w \\\$${ATTR_AV} " - alias ls="ls --color=tty -FN $LS_OPTIONS" export PS2="${ATTR_FET}>${ATTR_AV}";; *) - alias ls="ls -FN $LS_OPTIONS" export PS1="\u@\h:\w\$" export PS2=">$";; esac