aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bash_prompt8
-rw-r--r--.exports2
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 "*"
}
diff --git a/.exports b/.exports
index 58fe7eb..e7d59b7 100644
--- a/.exports
+++ b/.exports
@@ -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