why export local uses?

This commit is contained in:
Felix Van der Jeugt 2015-12-29 21:48:48 +01:00
parent a4b6dcedc8
commit 9f0ddb86cf
1 changed files with 3 additions and 3 deletions

6
zshrc
View File

@ -23,14 +23,14 @@ git_status() {
fi fi
} }
autoload -U colors && colors autoload -U colors && colors
export PS1="[%*] %{$fg[red]%}%n@%m%{$reset_color%} %{$fg_bold[green]%}%~%{$reset_color%} "'$(git_status | xargs echo)'" PS1="[%*] %{$fg[red]%}%n@%m%{$reset_color%} %{$fg_bold[green]%}%~%{$reset_color%} "'$(git_status | xargs echo)'"
%(?.$.%%) "; setopt promptsubst %(?.$.%%) "; setopt promptsubst
# Color ls # Color ls
alias ls="ls --color=auto" alias ls="ls --color=auto"
# Local scripts # Local scripts
export PATH="$HOME/.local/bin":"$PATH" PATH="$HOME/.local/bin":"$PATH"
# Cabal # Cabal
#export PATH="$HOME/.cabal/bin":"$PATH" #export PATH="$HOME/.cabal/bin":"$PATH"
@ -40,7 +40,7 @@ export PATH="$HOME/.local/bin":"$PATH"
#export GEM_HOME="$(ruby -e 'puts Gem.user_dir')" #export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
# For vim # For vim
export EDITOR="vim" EDITOR="vim"
stty -ixon # turn of <C-s> for vimshell stty -ixon # turn of <C-s> for vimshell
alias vi="vim" alias vi="vim"
alias nano="vim" alias nano="vim"