I hereby claim:
- I am bheru27 on github.
- I am bheru27 (https://keybase.io/bheru27) on keybase.
- I have a public key ASBWtOBYAPEWFsmgbvb2oRwP1L7Mw6cQg9CaCYD7SmnZRgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python2 | |
#usage: cat .bash_history | ./bash2zsh.py >> .zsh_history | |
import sys | |
import time | |
for line in sys.stdin: | |
line = line.rstrip('\n') | |
timestamp = int(time.time()) | |
sys.stdout.write(': %s:0;%s\n' %(timestamp, line)) |
me at bryanhr dot com --- 8A75 A129 7881 38DF 84B3 BF45 6C8C F116 A980 0E5D