diff --git a/zshrc b/zshrc index ac84085..9ea4627 100644 --- a/zshrc +++ b/zshrc @@ -7,6 +7,9 @@ HISTSIZE=1000 SAVEHIST=1000 setopt notify +# Allow for functions in the prompt +setopt PROMPT_SUBST +setopt EXTENDED_GLOB zstyle :compinstall filename '/home/slash/.zshrc' @@ -21,6 +24,8 @@ export LESS_TERMCAP_so=$'\e[1;47;30m' export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[0;36m' +export CC=clang + # Functions function env() { exec /usr/bin/env "$@" | grep -v ^LESS_TERMCAP_ @@ -30,9 +35,6 @@ function env() { autoload -U colors colors -# Allow for functions in the prompt -setopt PROMPT_SUBST - # Autoload zsh functions. fpath=(~/.zsh/functions $fpath) autoload -U ~/.zsh/functions/*(:t)