summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-11 20:44:38 -0600
committerzachir <zachir@librem.one>2023-02-11 20:44:38 -0600
commitbfaeb374d26f6d763e9f9b1aa39d344d2d4c36ea (patch)
tree9b46711e1b39238335b9184dd58be8a82f24ce81 /zsh
parent635f001391e89f2d587ee0e70e656f9accd695c2 (diff)
parent8d9bd2041c2d93c5d87b7b82ed8273b6bdf6470b (diff)
Merge branch 'master' of zachir.xyz:zachir/dotfiles
Diffstat (limited to 'zsh')
-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