1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Better colored output.

This commit is contained in:
2018-12-13 16:07:42 +01:00
parent de0e502c7d
commit ba2ff634bb

View File

@@ -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"