feat(bash): add timestamp to command history

This commit is contained in:
Victor Westerlund 2026-03-05 05:12:35 +01:00
parent 4fb313657e
commit b997ac4245
Signed by: vlw
GPG key ID: 5DAF14C317AA7719

View file

@ -9,6 +9,9 @@ export PS1='\[\e[38;5;46m\]\u\[\e[38;5;2m\]@\[\e[38;5;46m\]\h\[\e[38;5;2m\]:\[\e
# Export GPG_TTY for signing stuff with gpg
export GPG_TTY=$(tty)
# Set time format for history entries
export HISTTIMEFORMAT="%F %T "
# Create pathrefs to dev folders
export L="/var/www/libs"
export S="/var/www/sites"