mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Add colors on less by default
By default less is able to handle colors
This commit is contained in:
parent
475751e6d0
commit
53582fbe97
1 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ then
|
||||||
ls --color -d . &>/dev/null 2>&1 && alias ls='ls --color=tty' || alias ls='ls -G'
|
ls --color -d . &>/dev/null 2>&1 && alias ls='ls --color=tty' || alias ls='ls -G'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Less colors
|
||||||
|
export LESS=R
|
||||||
|
|
||||||
#setopt no_beep
|
#setopt no_beep
|
||||||
setopt auto_cd
|
setopt auto_cd
|
||||||
setopt multios
|
setopt multios
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue