ZSH: Add hostname, CXX=clang
This commit is contained in:
parent
c84151545d
commit
ef439c0f32
1 changed files with 4 additions and 2 deletions
6
zshrc
6
zshrc
|
@ -25,9 +25,11 @@ export LESS_TERMCAP_ue=$'\e[0m'
|
||||||
export LESS_TERMCAP_us=$'\e[0;36m'
|
export LESS_TERMCAP_us=$'\e[0;36m'
|
||||||
|
|
||||||
export CC=clang
|
export CC=clang
|
||||||
|
export CXX=clang
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
function env() {
|
function env()
|
||||||
|
{
|
||||||
exec /usr/bin/env "$@" | grep -v ^LESS_TERMCAP_
|
exec /usr/bin/env "$@" | grep -v ^LESS_TERMCAP_
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +53,7 @@ chpwd_functions+='chpwd_update_git_vars'
|
||||||
chpwd_functions+='chpwd_show_todo'
|
chpwd_functions+='chpwd_show_todo'
|
||||||
|
|
||||||
# Set the prompt.
|
# 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]}%}'
|
RPROMPT='$(prompt_git_info)%{${fg[default]}%}'
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
|
|
Loading…
Reference in a new issue