From c3489d8236b02f714d8abcff87421bf756669102 Mon Sep 17 00:00:00 2001 From: pSox Date: Wed, 28 Mar 2018 10:55:03 +0100 Subject: [PATCH] fixed bindkey issue --- .gitmodules | 4 ++-- zsh-custom/plugins/lxd-completion-zsh | 1 - zshrc | 10 +++++----- 3 files changed, 7 insertions(+), 8 deletions(-) delete mode 160000 zsh-custom/plugins/lxd-completion-zsh diff --git a/.gitmodules b/.gitmodules index 7d61317..64e0d16 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,6 +13,6 @@ [submodule "zsh-custom/plugins/zsh-syntax-highlighting"] path = zsh-custom/plugins/zsh-syntax-highlighting url = https://github.com/zsh-users/zsh-syntax-highlighting.git -[submodule "zsh-custom/plugins/lxd-completion-zsh"] - path = zsh-custom/plugins/lxd-completion-zsh +[submodule "zsh-custom/lxd-completion-zsh"] + path = zsh-custom/lxd-completion-zsh url = https://github.com/endaaman/lxd-completion-zsh.git diff --git a/zsh-custom/plugins/lxd-completion-zsh b/zsh-custom/plugins/lxd-completion-zsh deleted file mode 160000 index 3375a65..0000000 --- a/zsh-custom/plugins/lxd-completion-zsh +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3375a65cde8a2dac23cd7e5e44b8be7219e6741e diff --git a/zshrc b/zshrc index de8346f..1dfede4 100755 --- a/zshrc +++ b/zshrc @@ -87,6 +87,8 @@ ZSH_CUSTOM=$(dirname $ZSH)/zsh-custom plugins=( $pre_plugins zsh_reload + zsh-syntax-highlighting + zsh-autosuggestions zsh-navigation-tools gnu-utils common-aliases @@ -121,8 +123,6 @@ plugins=( ( which ssh 2>/dev/null >/dev/null ) && plugins+=( ssh-agent ) plugins+=( zsh-completions - zsh-syntax-highlighting - zsh-autosuggestions $post_plugins ) @@ -139,7 +139,7 @@ source $ZSH/oh-my-zsh.sh foreach cmd in kubectl kubeadm ( which $cmd 2>/dev/null >/dev/null ) && source <($cmd completion zsh) end -( which rpm 2>/dev/null >/dev/null ) && source ~/.psoxizsh/zsh-custom/plugins/lxd-completion-zsh/_lxc +( which lxc 2>/dev/null >/dev/null ) && source ~/.psoxizsh/zsh-custom/lxd-completion-zsh/_lxc # User configuration @@ -180,8 +180,8 @@ bindkey -- "^[OD" backward-char bindkey -- "^[OC" forward-char bindkey -- "^[OA" up-line-or-history bindkey -- "^[OB" down-line-or-history -bindkey -M emacs '^P' history-substring-search-up -bindkey -M emacs '^N' history-substring-search-down +#bindkey -M emacs '^P' history-substring-search-up +#bindkey -M emacs '^N' history-substring-search-down # cutomize options setopt no_bang_hist