Improve aliases and autocompletion.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
Jacob Kiers 2014-09-25 09:55:13 +02:00
parent 5e9e061e4f
commit 56a65c36c5
2 changed files with 8 additions and 3 deletions

View File

@ -7,12 +7,13 @@ alias ~="cd ~"
alias -- -="cd -" # The alias is `-`, not `--`
# Shortcuts
alias c="composer"
alias c="php -dmemory_limit=2G $HOME/dotfiles/bin/composer"
alias e=$EDITOR
alias o="open"
alias oo="open ."
alias e=$EDITOR
alias +x="chmod +x"
alias t="tmux"
alias x+="chmod +x"
alias +x="chmod +x"
# Detect which `ls` flavor is in use
if ls --color > /dev/null 2>&1; then # GNU `ls`

View File

@ -12,3 +12,7 @@ _ssh_reload_autocomplete
# Add AWS CLI Completion.
complete -C aws_completer aws
complete -F _tmux t
# Add Gush completion.
[ -f $HOME/.gush/.gush-autocomplete.bash ] && source $HOME/.gush/.gush-autocomplete.bash