Skip to content

Instantly share code, notes, and snippets.

@crivotz
Last active May 31, 2023 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crivotz/1b518c8790ca1cede981f92d62529cb6 to your computer and use it in GitHub Desktop.
Save crivotz/1b518c8790ca1cede981f92d62529cb6 to your computer and use it in GitHub Desktop.
ZSH history merge
builtin fc -R -I .zhistory
builtin fc -R -I other_zhistory
# write the loaded history to HISTFILE
builtin fc -W "$HISTFILE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment