use %Y-%m-%d %H:%M:%S format (24h)

This commit is contained in:
Josh Skidmore
2020-08-19 07:00:34 -04:00
parent 8378fcf053
commit 78dec6460d

View File

@@ -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