From 3bb2249953d80fd4058f1c249bf52b112930087e Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 1 May 2011 16:57:43 +0200 Subject: [PATCH] ZSH: setopt EXTENDED_GLOB and export CC=clang --- zshrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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)