Skip to content

Instantly share code, notes, and snippets.

View reason211's full-sized avatar

reason211 reason211

View GitHub Profile
@reason211
reason211 / bash-to-zsh-hist.py
Created September 5, 2019 12:41 — forked from muendelezaji/bash-to-zsh-hist.py
Convert Bash history to Zsh history
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This is how I used it:
# $ cat ~/.bash_history | python bash-to-zsh-hist.py >> ~/.zsh_history
import sys
import time