Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion wbase.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ zle -N slash-backward-kill-word

#{{{ less and ls colors
# color setup for ls:
check_prog dircolors && eval $(dircolors -b)
if check_prog dircolors
then
eval $(dircolors -b)
elif check_prog gdircolors
then
eval $(gdircolors -b)
fi

# support colors in less
export LESS_TERMCAP_mb=$'\E[01;31m'
Expand Down