Last active
May 31, 2023 13:10
-
-
Save crivotz/1b518c8790ca1cede981f92d62529cb6 to your computer and use it in GitHub Desktop.
ZSH history merge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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