summaryrefslogtreecommitdiff
path: root/shell/key-bindings.bash
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-07-07 01:40:14 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-07-07 01:40:14 +0900
commit6081eac58a0c1fe7cf920dc41d7d6ec07293b0ee (patch)
tree3f3b477c5b86caf31f3f1d81798e3fa7fc4f673f /shell/key-bindings.bash
parent942ba749c7971076a650b899b4d44e0cced5f167 (diff)
downloadfzf-6081eac58a0c1fe7cf920dc41d7d6ec07293b0ee.tar.gz
[shell] Suppress alias/function expansion
Close #611
Diffstat (limited to 'shell/key-bindings.bash')
-rw-r--r--shell/key-bindings.bash2
1 files changed, 1 insertions, 1 deletions
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