Files
dotfiles/zsh/lib/appearance.zsh
T
2014-02-05 14:27:09 +01:00

28 lines
516 B
Bash

# ls colors
autoload colors; colors;
#export LS_COLORS
# Enable ls colors
if [ "$DISABLE_LS_COLORS" != "true" ]
then
# Find the option for using colors in ls, depending on the version: Linux or BSD
ls --color -d . &>/dev/null 2>&1 && alias ls='ls --color=tty' || alias ls='ls -G'
fi
setopt no_beep
setopt auto_cd
setopt multios
setopt cdablevarS
#setopt rm_star_wait
if [[ x$WINDOW != x ]]
then
SCREEN_NO="%B$WINDOW%b "
else
SCREEN_NO=""
fi
# Setup the prompt with pretty colors
setopt prompt_subst