gavingeng

如何备份zsh的历史记录

  •  
  •   gavingeng · Nov 1, 2012 · 3994 views
    This topic created in 4952 days ago, the information mentioned may be changed or developed.
    之前用bash,用shell写过一个备份前一天history的脚本,配置在cron中每天凌晨跑,之后用上了zsh,现在突然想翻下之前操作过的某一个命令,翻历史记录文件,发现在使用zsh之后,.bash_history就再也没变过,发现在$HOME下有个.zsh_history目录,里面都按目录分好了,但不知哪些是需要备份的,请各位指教!
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1081 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 23:39 · PVG 07:39 · LAX 16:39 · JFK 19:39
    ♥ Do have faith in what you're doing.