Upload zsh_history_fix.sh

#1
by tuansmep - opened
Files changed (1) hide show
  1. zsh_history_fix.sh +4 -0
zsh_history_fix.sh ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ mv ~/.zsh_history ~/.zsh_history_bad
2
+ strings ~/.zsh_history_bad > ~/.zsh_history
3
+ fc -R ~/.zsh_history
4
+ rm ~/.zsh_history_bad