diff options
author | Matt Singleton <matt@xcolour.net> | 2021-02-09 17:25:01 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2021-02-09 17:25:01 -0600 |
commit | 75674f2c7479a5c2ba131e9513bdb0ec2c61ae7b (patch) | |
tree | 4d0c182ab178e1190dcb760bab9f4f839752fa70 | |
parent | da8dc69027506eceab357695b68d334acf01cb06 (diff) |
refactor zsh config
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | config/zsh/zshrc | 4 | ||||
-rwxr-xr-x | deploy.sh | 4 | ||||
-rw-r--r-- | local.zsh (renamed from zshrc-local) | 0 |
4 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ vim/ dotfiles-backup -config/zsh/zshrc-local +config/zsh/local.zsh config/git/config-local diff --git a/config/zsh/zshrc b/config/zsh/zshrc index 2a0fcf0..16c4bed 100644 --- a/config/zsh/zshrc +++ b/config/zsh/zshrc @@ -1,8 +1,8 @@ export EDITOR=vim export LANG=en_US.UTF-8 -if [ -e "$ZDOTDIR/zshrc-local" ]; then - source "$ZDOTDIR/zshrc-local" +if [ -e "$ZDOTDIR/local.zsh" ]; then + source "$ZDOTDIR/local.zsh" fi source "$ZDOTDIR/appearance.zsh" @@ -41,8 +41,8 @@ fi vim +BundleInstall +qall vim +BundleClean +qall -if [ ! -e config/zsh/zshrc-local ]; then - cp zshrc-local config/zsh/zshrc-local +if [ ! -e config/zsh/local.zsh ]; then + cp local.zsh config/zsh/local.zsh fi if [ ! -e config/git/config-local ]; then cp gitconfig-local config/git/config-local |