Source ~/.zshrc.local if it exists
Follows the pattern of: * ~/.aliases.local ince7ad49
* ~/.gitconfig.local in8e141fe
* ~/.vimrc.local ina666267
Use consistent: * `source`ing style. * commenting style. I am using ~/.zshrc.local as a home for `eval "$(rbenv init -)"`.
This commit is contained in:
parent
ce7ad494cf
commit
e69f7b7995
1 changed files with 6 additions and 5 deletions
11
zshrc
11
zshrc
|
@ -16,11 +16,6 @@ setopt auto_cd
|
|||
export VISUAL=vim
|
||||
export EDITOR=$VISUAL
|
||||
|
||||
# aliases
|
||||
if [ -e "$HOME/.aliases" ]; then
|
||||
source "$HOME/.aliases"
|
||||
fi
|
||||
|
||||
# vi mode
|
||||
bindkey -v
|
||||
bindkey "^F" vi-cmd-mode
|
||||
|
@ -68,3 +63,9 @@ setopt CORRECT CORRECT_ALL
|
|||
|
||||
# Enable extended globbing
|
||||
setopt EXTENDED_GLOB
|
||||
|
||||
# aliases
|
||||
[[ -f ~/.aliases ]] && source ~/.aliases
|
||||
|
||||
# Local config
|
||||
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
|
||||
|
|
Loading…
Add table
Reference in a new issue