mirror of
https://github.com/joshskidmore/zsh-fzf-history-search.git
synced 2026-09-10 07:06:21 -04:00
use %Y-%m-%d %H:%M:%S format (24h)
This commit is contained in:
parent
8378fcf053
commit
78dec6460d
|
|
@ -1,5 +1,5 @@
|
|||
fzf_history_seach() {
|
||||
history -t '%Y-%m-%d %I:%M:%S' 0 | grep -v 1969 | fzf +s +m -x --tac -e | awk '{print substr($0, index($0, $4))}' | tr -d "\n"
|
||||
history -t '%Y-%m-%d %H:%M:%S' 0 | grep -v 1969 | fzf +s +m -x --tac -e | awk '{print substr($0, index($0, $4))}' | tr -d "\n"
|
||||
}
|
||||
|
||||
autoload fzf_history_seach
|
||||
|
|
|
|||
Loading…
Reference in a new issue