mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 20:40:32 +01:00
Better colored output.
This commit is contained in:
@@ -31,6 +31,7 @@ bindkey -e
|
||||
alias ls='ls --color=auto'
|
||||
alias ll='ls -lh'
|
||||
alias grep='grep --color=auto'
|
||||
alias diff='diff --color=auto'
|
||||
alias gvim='gvim --remote-tab'
|
||||
alias userctl='systemctl --user'
|
||||
alias :q='exit'
|
||||
@@ -41,6 +42,17 @@ then
|
||||
alias fuck='$(thefuck $(fc -ln -1))'
|
||||
fi
|
||||
|
||||
# Colored man output
|
||||
man() {
|
||||
LESS_TERMCAP_md=$'\e[01;36m' \
|
||||
LESS_TERMCAP_me=$'\e[0m' \
|
||||
LESS_TERMCAP_se=$'\e[0m' \
|
||||
LESS_TERMCAP_so=$'\e[01;44;33m' \
|
||||
LESS_TERMCAP_ue=$'\e[0m' \
|
||||
LESS_TERMCAP_us=$'\e[01;33m' \
|
||||
command man "$@"
|
||||
}
|
||||
|
||||
# Initialize the prompt
|
||||
source "${ZDOTDIR:-$HOME}/.zshtheme"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user