why export local uses?
This commit is contained in:
parent
a4b6dcedc8
commit
9f0ddb86cf
6
zshrc
6
zshrc
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user