diff options
author | xero <x@xero.nu> | 2014-05-27 17:35:49 -0400 |
---|---|---|
committer | xero <x@xero.nu> | 2014-05-27 17:35:49 -0400 |
commit | 33dda7cc3ad42553778f0a4fe536c045bc307245 (patch) | |
tree | 4b990d5081227b039021d12d7be0e09723f5c916 /.zsh | |
parent | 823f193ff9431ddd33f52ff8e05887b89ed41fb6 (diff) | |
parent | cc929f1132c159749899c7d60f2e389dd21df2b2 (diff) | |
download | dotfiles_ascii-33dda7cc3ad42553778f0a4fe536c045bc307245.tar.xz dotfiles_ascii-33dda7cc3ad42553778f0a4fe536c045bc307245.zip |
add zsh function for colored man pages.
Diffstat (limited to '')
-rw-r--r-- | .zsh/colored-man-pages.zsh | 7 | ||||
-rw-r--r-- | .zshrc | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.zsh/colored-man-pages.zsh b/.zsh/colored-man-pages.zsh new file mode 100644 index 0000000..f0a96a0 --- /dev/null +++ b/.zsh/colored-man-pages.zsh @@ -0,0 +1,7 @@ +export LESS_TERMCAP_mb=$'\E[01;31m' +export LESS_TERMCAP_md=$'\E[01;38;5;74m' +export LESS_TERMCAP_me=$'\E[0m' +export LESS_TERMCAP_se=$'\E[0m' +export LESS_TERMCAP_so=$'\E[38;33;246m' +export LESS_TERMCAP_ue=$'\E[0m' +export LESS_TERMCAP_us=$'\E[04;38;5;146m' @@ -93,6 +93,9 @@ preexec_functions+='preexec_update_git_vars' precmd_functions+='precmd_update_git_vars' chpwd_functions+='chpwd_update_git_vars' +#█▓▒░ load configs +for config_file (~/.zsh/*.zsh) source $config_file + #█▓▒░ custom prompts #█▓▒░dual line |