ZSH: Add hostname, CXX=clang

This commit is contained in:
Tom Willemsen 2011-05-27 21:39:24 +02:00
parent c84151545d
commit ef439c0f32

6
zshrc
View file

@ -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