aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/aliases.bash
blob: 53b49e691fdc9159107baa1d196267bd0bbbab43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Use a unified format for diff by default
alias diff='diff -u'

# 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:'

# Don't print the GDB copyright message on every invocation
alias gdb='gdb -q'

# 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'