Notgnoshi / dotfiles

Personal dotfiles and shell scripts

Home Page:https://agill.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weekly history backup

Notgnoshi opened this issue · comments

Backup to abyss or anguish (or start using rsync.net?)

I just lost my history for the dumbest reason.

  • Experiment with haskell
  • Install ghcup
  • Replaces ~/.bashrc symlink with a regular file
  • Breaks resolution of $DOTFILES_DIR and sourcing the history.sh file
  • Unsets HISTFILESIZE
  • Truncates ~/.bash_history
  • 😡

So then

  • Add a backup to ~/.bash_logout
  • Consider moving history.sh back to ~/.bashrc