Skip to content

Instantly share code, notes, and snippets.

@mjf
Created October 15, 2013 11:56
Show Gist options
  • Save mjf/6990442 to your computer and use it in GitHub Desktop.
Save mjf/6990442 to your computer and use it in GitHub Desktop.
Shell alias to log work
# log work
alias log='history -p !! >> ${LOGFILE:-~/log}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment