aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2021-02-09 17:25:01 -0600
committerMatt Singleton <matt@xcolour.net>2021-02-09 17:25:01 -0600
commit75674f2c7479a5c2ba131e9513bdb0ec2c61ae7b (patch)
tree4d0c182ab178e1190dcb760bab9f4f839752fa70
parentda8dc69027506eceab357695b68d334acf01cb06 (diff)
refactor zsh config
-rw-r--r--.gitignore2
-rw-r--r--config/zsh/zshrc4
-rwxr-xr-xdeploy.sh4
-rw-r--r--local.zsh (renamed from zshrc-local)0
4 files changed, 5 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index edec80b..88aee5d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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"
diff --git a/deploy.sh b/deploy.sh
index 7e5575b..ba805a0 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -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
diff --git a/zshrc-local b/local.zsh
index 8b012e4..8b012e4 100644
--- a/zshrc-local
+++ b/local.zsh