mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-27 04:32:56 +00:00
[bash] Ignore asterisk (modified) in history
This commit is contained in:
parent
cca543d0cd
commit
40761b11b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user