Created
September 3, 2015 08:43
-
-
Save Finkregh/37948e0310d0e30eb961 to your computer and use it in GitHub Desktop.
endless-bash-history
This file contains 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
HOSTNAME="$(hostname)" | |
HOSTNAME_SHORT="${HOSTNAME%%.*}"\\\\\ | |
HISTFILE="${HOME}/.history/$(date -u +%Y/%m/%d.%H.%M.%S)_${HOSTNAME_SHORT}_$$" | |
# FIXME: upload to a central place. rsync? owncloud? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment