ZSH: setopt EXTENDED_GLOB and export CC=clang
This commit is contained in:
parent
4ec8f35b04
commit
3bb2249953
1 changed files with 5 additions and 3 deletions
8
zshrc
8
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)
|
||||
|
|
Loading…
Reference in a new issue