diff options
author | Mathias Bynens <mathias@qiwi.be> | 2012-04-03 16:32:39 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-04-03 16:32:39 +0200 |
commit | f33a8e4458fd2bc4b839cb6ddc0ac2a49d9522bf (patch) | |
tree | 6b2f62af850c47ba16521d53e66e0d084283ee7f | |
parent | 72860bec9801f5e899312780d2349cfaf6efedae (diff) | |
download | dotfiles-f33a8e4458fd2bc4b839cb6ddc0ac2a49d9522bf.tar.gz dotfiles-f33a8e4458fd2bc4b839cb6ddc0ac2a49d9522bf.tar.bz2 dotfiles-f33a8e4458fd2bc4b839cb6ddc0ac2a49d9522bf.zip |
.exports: Highlight (color-code) section titles in manual pages
-rw-r--r-- | .bash_prompt | 8 | ||||
-rw-r--r-- | .exports | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.bash_prompt b/.bash_prompt index 771d35a..662ae78 100644 --- a/.bash_prompt +++ b/.bash_prompt @@ -35,6 +35,14 @@ else RESET="\033[m" fi +export MAGENTA +export ORANGE +export GREEN +export PURPLE +export WHITE +export BOLD +export RESET + function parse_git_dirty() { [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" } @@ -2,6 +2,8 @@ export EDITOR="vim" # Don’t clear the screen after quitting a manual page export MANPAGER="less -X" +# Highlight section titles in manual pages +export LESS_TERMCAP_md="$ORANGE" # Larger bash history (allow 32³ entries; default is 500) export HISTSIZE=32768 |