Skip to content

Instantly share code, notes, and snippets.

@shiftkey
Created July 20, 2013 03:45
Show Gist options
  • Save shiftkey/6043772 to your computer and use it in GitHub Desktop.
Save shiftkey/6043772 to your computer and use it in GitHub Desktop.
Display a rolling command history from zsh
rm ~/.zsh_history
clear
touch ~/.zsh_history
tail -f ~/.zsh_history | sed -e 's/^:[[:space:]][0-9]*\:0;//g' -e '/tail*/d' -e '/clear/d'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment