Pruned history
Klaus Ethgen <[email protected]> Sun, 2 Aug 2026 16:28:30 +0100
| Newsgroups | gmane.comp.shells.zsh.devel |
|---|---|
| Message-ID | <am9iHq01Q_tjTw_M__9156.50664116896$1785684600$gmane$org@chil> |
--InhUxwMwULXx2bfj Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Hi, I often see that my zsh history get pruned down to about 20 or 30 last lines when I start a new zsh. This is very annoying as I often use history to get stuff done. The only way to get back the history is to restore it from backup and `fc -R ...; fc -W`. But that way I loose the history from today. Is there any I can do to prevent that annoying pruning? My relevant settings are as following: HISTSIZE=1200 HISTCHARS='!^#' I seen that mostly with accounts that I use with ssh like remote root or remote account. But I seen it at least once with a local account that I use via xterm. Regards Klaus -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <[email protected]> Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C --InhUxwMwULXx2bfj Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- Comment: Charset: ISO-8859-1 iQHPBAABCgA5FiEE2oNkebTd5YKFiBG5fue2cNoeGfgFAmpvYhgbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyAAoJEH7ntnDaHhn4ccEL+wfzGSp2MrZH8yFf/0x2 7ePvKsA30FgXbl0zzPYKDZTDnhAsPkngfGmim1VEPGEOa0CJ2BtFKZ+WdQynwsmO rc7LD1UvT2Sm+Z1zM+Pf0p2uKktctKyvRDrlaxKdHRiT1IAq9BoG0oXEmSpLQNQg WNQNHLB44KAV6i1Pm4PCiBbH1WTysfRxh3KCgrIS1UUbj7PRDNV8Yn+ic/FQYKMV 7/f3yn/pkh1PVHoaBplX0FkAwDzK52s55dKGQO6lwZf1Cg06jLPON1lBLyNUBUOl OLD8inm84Z69mqrXK12Sq1/uRnEoMx6GLCODYCGLTdrAzU2WWn9XTZW3xZGatCHj 6adplOj+lwiPQeIG34jlEXXb4YfGW2pKazuJ1AEyVq7AMVU+nKiyX+3PgDT0jjGD gLecuarQ2AdZAyZz6mExL6BlobLO8LDrL3fbLf+ZXXhSpJPpf4U8Mx/n5fjMRk/T k+CPDDzybrjU7salSdOWYykfQ8RavxFISQpGcCFNuMffYg== =dTgm -----END PGP SIGNATURE----- --InhUxwMwULXx2bfj--