zsh enable emacs key binding

This commit is contained in:
Nachuan Tang
2022-08-22 20:09:18 -04:00
parent 4c2777820a
commit 6d1b7729f1
+2
View File
@@ -8,6 +8,8 @@
if [ -n "$ZSH_NAME" ]; then
SHELL_NAME=zsh
DOTFILE_DIR=${0:a:h}/
# enable emacs key bindings
bindkey -e
source $DOTFILE_DIR/bash_tools/theme_zsh.sh
elif [ -n "$SHELL" ];then
SHELL_NAME=bash