diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | bash/bashrc | 15 | ||||
-rw-r--r-- | bash/bashrc.d/aliases.bash | 15 |
3 files changed, 16 insertions, 15 deletions
@@ -1,4 +1,5 @@ bash/bashrc.d/* +!bash/bashrc.d/aliases.bash !bash/bashrc.d/cd.bash !bash/bashrc.d/grep.bash !bash/bashrc.d/ls.bash diff --git a/bash/bashrc b/bash/bashrc index ebf87b2d..4e271aa5 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -60,21 +60,6 @@ stty -ixon &>/dev/null # Use completion, if available [[ -r /etc/bash_completion ]] && source /etc/bash_completion -# I always want a unified diff -alias diff='diff -u' - -# I actually use ed now and then, go figure -alias ed='ed -p:' - -# Make gdb shut up -alias gdb='gdb -q' - -# Protect innocent MySQL databases from my stupidity -alias mysql='mysql --safe-updates' - -# I always do this, and I hate slow train -alias sl='ls' - # Load any supplementary scripts if [[ -d "$HOME/.bashrc.d" ]] then diff --git a/bash/bashrc.d/aliases.bash b/bash/bashrc.d/aliases.bash new file mode 100644 index 00000000..7a0383a3 --- /dev/null +++ b/bash/bashrc.d/aliases.bash @@ -0,0 +1,15 @@ +# I always want a unified diff +alias diff='diff -u' + +# I actually use ed now and then, go figure +alias ed='ed -p:' + +# Make gdb shut up +alias gdb='gdb -q' + +# Protect innocent MySQL databases from my stupidity +alias mysql='mysql --safe-updates' + +# I always do this, and I hate slow train +alias sl='ls' + |