Skip to content

Instantly share code, notes, and snippets.

@Empyritz
Created March 17, 2019 18:24
Show Gist options
  • Select an option

  • Save Empyritz/0e25a3d73a5bb45cb81bf62c98f0af7c to your computer and use it in GitHub Desktop.

Select an option

Save Empyritz/0e25a3d73a5bb45cb81bf62c98f0af7c to your computer and use it in GitHub Desktop.
Esta es la manera de corregir zsh: corrupt history file
To fix it run the following commands
cd ~
mv .zsh_history .zsh_history_bad
strings .zsh_history_bad > .zsh_history
fc -R .zsh_history
@esyef
Copy link

esyef commented Feb 25, 2024

Funciono :)

@SergioJuniorCE
Copy link

sigue funcionando

@DDlimi
Copy link

DDlimi commented May 4, 2024

it worked, thanks!

@ognas
Copy link

ognas commented May 20, 2024

Funcionó, gracias!!! tengo una duda después de usar ese comando zphisher dejo de funcionar por que dice "Permission Denied" sabes si tiene alguna solución? Graciass!!!

@avanzar98
Copy link

Bien, Parcero, funciono. Gracias

@Cocind
Copy link

Cocind commented May 24, 2024

Genial!! Funciona perfecto

@saqpsaqp
Copy link

saqpsaqp commented Dec 1, 2024

Ish!!! Wena Wey

@YizusCZ
Copy link

YizusCZ commented Feb 14, 2025

Si le sabritas, gracias

@SergioJuniorCE
Copy link

sigue funcionando, thanks :D

@Cocind
Copy link

Cocind commented Mar 20, 2025

Funciona!!!! Gracias!

@evil-cloud
Copy link

Gracias desde Archlinux!

@angvzrz
Copy link

angvzrz commented Apr 15, 2025

Te rifaste pa 🤙

@magcCF
Copy link

magcCF commented May 22, 2025

Gracias! Funcionó

@zeligmax
Copy link

Gracias!

@franciscobaca
Copy link

Genio! Tuve este error hoy en Nixos y lo arregle al toque con esto. 💯

Copy link

ghost commented Sep 10, 2025

Funcionó de maravilla y no me elimino ningún comando, un capo ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment