Skip to content

Instantly share code, notes, and snippets.

# Custom history configuration
# Run script using:
# chmod u+x better_history.sh
# sudo su
# ./better_history.sh
GLOBALRC = /etc/bashrc
echo ">>> Starting"
echo ">>> Loading configuration into $GLOBALRC"
echo "HISTTIMEFORMAT='%F %T '" >> $GLOBALRC