summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-05-01 16:57:43 +0200
committerGravatar Tom Willemsen2011-05-01 16:57:43 +0200
commit3bb2249953d80fd4058f1c249bf52b112930087e (patch)
tree46bd2cdf7e03dffc0a30ba25f2b47987b7cc05e4 /zshrc
parent4ec8f35b04eea1f7c96190635fd10fdf4fa74f14 (diff)
downloaddotfiles-3bb2249953d80fd4058f1c249bf52b112930087e.tar.gz
dotfiles-3bb2249953d80fd4058f1c249bf52b112930087e.zip
ZSH: setopt EXTENDED_GLOB and export CC=clang
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc8
1 files 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)