diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-07-20 00:41:19 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-07-20 00:41:19 +1200 |
commit | 0785b2be3c2b74c8965eed51838f57c8d91e3d51 (patch) | |
tree | ec35ac5d36000286d38d6e2ee5fa3e20d11b8798 | |
parent | Refine color choices (no 'background' defined) (diff) | |
download | dotfiles-0785b2be3c2b74c8965eed51838f57c8d91e3d51.tar.gz dotfiles-0785b2be3c2b74c8965eed51838f57c8d91e3d51.zip |
Move aliases into separate file
-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' + |