aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/.zshrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/.zshrc b/common/.zshrc
new file mode 100644
index 0000000..bd22e32
--- /dev/null
+++ b/common/.zshrc
@@ -0,0 +1,10 @@
+# ~/.zshrc
+[[ -f ~/.config/zsh/.zshrc ]] && source ~/.config/zsh/.zshrc
+
+# Point all zsh startup files to ~/.config/zsh
+export ZDOTDIR="$HOME/.config/zsh"
+
+# If you want, you can still source your real zshenv from there:
+if [[ -f "$ZDOTDIR/.zshenv" ]]; then
+ source "$ZDOTDIR/.zshenv"
+fi