Skip to content

Instantly share code, notes, and snippets.

View shaigluskin's full-sized avatar

Shai Gluskin shaigluskin

  • sgluskin.art
  • Philadelphia
View GitHub Profile
# Custom history configuration
# Run script using:
# chmod u+x better_history.sh
# sudo su
# ./better_history.sh
echo ">>> Starting"
echo ">>> Loading configuration into /etc/bash.bashrc"
echo "HISTTIMEFORMAT='%F %T '" >> /etc/bash.bashrc
echo 'HISTFILESIZE=-1' >> /etc/bash.bashrc