mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-28 08:05:53 +00:00
[bash] Ignore asterisk (modified) in history
This commit is contained in:
1 parent
cca543d0cd
commit
40761b11b1
1 file changed
+1
-1
@@ -38,7 +38,7 @@ __fzf_history__() {
|
||||
line=$(
|
||||
HISTTIMEFORMAT= history |
|
||||
$(__fzfcmd) +s --tac +m -n2..,.. --tiebreak=index --toggle-sort=ctrl-r |
|
||||
\grep '^ *[0-9]') && sed 's/ *\([0-9]*\) .*/!\1/' <<< "$line"
|
||||
\grep '^ *[0-9]') && sed 's/ *\([0-9]*\)\** .*/!\1/' <<< "$line"
|
||||
}
|
||||
|
||||
__use_tmux=0
|
||||
|
||||
Reference in new issue
Block a user