mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
addition(added a script to run in case zsh history file gets corrupted)
This commit is contained in:
parent
e609b6af05
commit
d1d0643171
6
.local/bin/fix_zsh_history
Executable file
6
.local/bin/fix_zsh_history
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/zsh
|
||||
|
||||
mv ~/.config/zsh/.history ~/.config/zsh/.bad_history
|
||||
strings ~/.config/zsh/.bad_history > ~/.config/zsh/.history
|
||||
fc -R ~/.config/zsh/.history
|
||||
rm ~/.config/zsh/.bad_history
|
||||
Loading…
x
Reference in New Issue
Block a user