summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zsh/.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 5442bc9..3330042 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -18,6 +18,12 @@ if [ -f "$XDG_CONFIG_HOME"/sh/functions ]; then
source "$XDG_CONFIG_HOME"/sh/functions
fi
+if [ -n "$ZDOTDIR"/.zshrc -a -f "$ZDOTDIR"/.zshrc ]; then
+ alias e='source "$ZDOTDIR"/.zshrc'
+elif [ -f "$HOME"/.zshrc ]; then
+ alias e='source ~/.zshrc'
+fi
+
bindkey "^?" backward-delete-char
# bindkey -v