From 9e4bcaed16c458556f8e4c81277144a5df223fe7 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 12 Nov 2020 20:50:22 +0000 Subject: [PATCH] add zprofile --- bin/install.sh | 2 +- bin/update-dotfiles.sh | 2 +- zprofile | 4 ++++ zshrc | 4 ---- 4 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 zprofile diff --git a/bin/install.sh b/bin/install.sh index eacb87d..e318cb2 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -10,7 +10,7 @@ set e # list of files/folders to symlink in homedir -FILES="aliases exports private zshrc gitconfig gitignore hushlogin bin tmux.conf vimrc" +FILES="aliases exports private zshrc zprofile gitconfig gitignore hushlogin bin tmux.conf vimrc" # ---------------------------------------------------------------------- # create the private file first, will be symlinked but ignored by git diff --git a/bin/update-dotfiles.sh b/bin/update-dotfiles.sh index 7d8124f..928ce74 100755 --- a/bin/update-dotfiles.sh +++ b/bin/update-dotfiles.sh @@ -8,7 +8,7 @@ ######################################################################## # list of files/folders to symlink in homedir -FILES="aliases exports private zshrc editorconfig gitconfig gitignore hushlogin bin tmux.conf vimrc" +FILES="aliases exports private zshrc zprofile editorconfig gitconfig gitignore hushlogin bin tmux.conf vimrc" for FILE in $FILES; do diff --git a/zprofile b/zprofile new file mode 100644 index 0000000..79e32f1 --- /dev/null +++ b/zprofile @@ -0,0 +1,4 @@ +# User configuration +source ~/.exports +source ~/.aliases +source ~/.private \ No newline at end of file diff --git a/zshrc b/zshrc index 670194e..5e73a0e 100644 --- a/zshrc +++ b/zshrc @@ -68,10 +68,6 @@ fi # Other setopt prompt_subst -# User configuration -source ~/.exports -source ~/.aliases -source ~/.private source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh source <(kubectl completion zsh)