diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2016-04-23 11:35:27 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-04-23 11:35:27 +0900 |
commit | 95764bef6fe954f7ac30269ea457da8cc17f1e56 (patch) | |
tree | 24a5d1d0a660b42642b3a76697ee7959a579e42d /shell | |
parent | e867355b2a578438d08b74a1708d6ad582316a48 (diff) | |
parent | 63dbf4854632b52d21757f9a7675726bdd840c16 (diff) |
Merge pull request #550 from gene-pavlovsky/gene-pavlovsky-patch-2
[bash] Update key-bindings.bash
Diffstat (limited to 'shell')
-rw-r--r-- | shell/key-bindings.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash index 47adf30f..8ecd6148 100644 --- a/shell/key-bindings.bash +++ b/shell/key-bindings.bash @@ -65,7 +65,7 @@ if [ -n "$TMUX_PANE" ]; then [ $BASH_VERSINFO -gt 3 ] && __use_tmux_auto=1 fi -if [ -z "$(set -o | \grep '^vi.*on')" ]; then +if [[ $'\n'$(set -o) != *$'\n'vi*on* ]]; then # Required to refresh the prompt after fzf bind '"\er": redraw-current-line' bind '"\e^": history-expand-line' |