summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/zshrc b/zshrc
index 4235413..c6f43f4 100644
--- a/zshrc
+++ b/zshrc
@@ -25,9 +25,11 @@ export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[0;36m'
export CC=clang
+export CXX=clang
# Functions
-function env() {
+function env()
+{
exec /usr/bin/env "$@" | grep -v ^LESS_TERMCAP_
}
@@ -51,7 +53,7 @@ chpwd_functions+='chpwd_update_git_vars'
chpwd_functions+='chpwd_show_todo'
# Set the prompt.
-PROMPT='%{${fg[cyan]}%}%B%~%b%{${fg[default]}%} %(?.%{${fg[green]}%}O.%{${fg[red]}%}X)%{${fg[default]}%} %# '
+PROMPT='(%{${fg[magenta]}%}%m%{${fg[default]}%}) %{${fg[cyan]}%}%B%~%b%{${fg[default]}%} %(?.%{${fg[green]}%}O.%{${fg[red]}%}X)%{${fg[default]}%} %# '
RPROMPT='$(prompt_git_info)%{${fg[default]}%}'
# Aliases