diff options
author | zachir <zachir@librem.one> | 2023-02-11 20:14:49 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-11 20:14:49 -0600 |
commit | 1d0738c2299190beca4194e61245d612b9140724 (patch) | |
tree | c07b549e4131117cf878f69e1310e6ede17981ec /zsh | |
parent | 3f7c0df91a9cb7f5583964e559b5cadc210aac9e (diff) |
fix e alias for zsh
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |