aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 169c6690..ec74415a 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -45,6 +45,9 @@ if grep --help | grep -q -- --color; then
alias grep='grep --color=auto'
fi
+# Protect innocent MySQL databases from my stupidity.
+alias mysql='mysql --safe-updates'
+
# Use completion, if available.
if [ -e /etc/bash_completion ]; then
. /etc/bash_completion