aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-20 00:54:01 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-20 00:54:01 +1200
commit3fd300dd77041e15a566425077a956219a393c5d (patch)
treef7c0fda93a97424d1e51d3997e18c7e57a2c9cb7
parentMove aliases into separate file (diff)
downloaddotfiles-3fd300dd77041e15a566425077a956219a393c5d.tar.gz
dotfiles-3fd300dd77041e15a566425077a956219a393c5d.zip
Improve comments for aliases
-rw-r--r--bash/bashrc.d/aliases.bash13
1 files changed, 6 insertions, 7 deletions
diff --git a/bash/bashrc.d/aliases.bash b/bash/bashrc.d/aliases.bash
index 7a0383a3..53b49e69 100644
--- a/bash/bashrc.d/aliases.bash
+++ b/bash/bashrc.d/aliases.bash
@@ -1,15 +1,14 @@
-# I always want a unified diff
+# Use a unified format for diff by default
alias diff='diff -u'
-# I actually use ed now and then, go figure
+# Add a colon prompt to ed when a command is expected rather than text; makes
+# it feel a lot more like using ex
alias ed='ed -p:'
-# Make gdb shut up
+# Don't print the GDB copyright message on every invocation
alias gdb='gdb -q'
-# Protect innocent MySQL databases from my stupidity
+# Refuse to do highly destructive things in the MySQL client; prevents me from
+# updating or deleting rows without a WHERE clause, among other things
alias mysql='mysql --safe-updates'
-# I always do this, and I hate slow train
-alias sl='ls'
-