my_debian_config/.bash_aliases

16 lines
244 B
Bash
Raw Normal View History

2016-04-11 16:56:48 +02:00
alias gogit='cd /var/www/git/'
alias gowww='cd /var/www/'
gg () {
cd /var/www/git/ && cd "$@" && git st
}
_git_add_complete() {
COMPREPLY+=( $( ls /var/www/users/cdesmidt/git/ | grep "$2" ) )
}
complete -F _git_add_complete gg