From 6081eac58a0c1fe7cf920dc41d7d6ec07293b0ee Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 7 Jul 2016 01:40:14 +0900 Subject: [shell] Suppress alias/function expansion Close #611 --- shell/key-bindings.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/key-bindings.bash') diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash index 3e9dc654..27b5d5fb 100644 --- a/shell/key-bindings.bash +++ b/shell/key-bindings.bash @@ -52,7 +52,7 @@ __fzf_history__() ( line=$( HISTTIMEFORMAT= history | eval "$(__fzfcmd) +s --tac +m -n2..,.. --tiebreak=index --toggle-sort=ctrl-r $FZF_CTRL_R_OPTS" | - \grep '^ *[0-9]') && + command grep '^ *[0-9]') && if [[ $- =~ H ]]; then sed 's/^ *\([0-9]*\)\** .*/!\1/' <<< "$line" else -- cgit v1.2.3