zsh enable emacs key binding

This commit is contained in:
Nachuan Tang
2022-08-22 20:10:52 -04:00
parent 087b66966b
commit 1df2b24897
+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