Open toast-gear opened 2 years ago
Hi @toast-gear .
Type:
hstr -s
And:
history -w
awk '!x[$0]++' .bash_history > .bash_history.uniq
cat .bash_history.uniq > .bash_history
history -c
history -r
And favorite commands should be moved from .bash_history
to .hstr_favorites
. See also #269 .
OS : M1 Mac