Created
July 22, 2020 22:41
-
-
Save jjaaccoobb/ad9f548e138e9b7d22038c467fa3d489 to your computer and use it in GitHub Desktop.
Import bash history into zsh history format
This file contains hidden or 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
while read -r line; do echo ": $(date +%s):0;$line"; done < .bash_history > .bash_history_to_zsh_history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment