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