16 lines
229 B
Bash
16 lines
229 B
Bash
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/git/ | grep "$2" ) )
|
|
|
|
}
|
|
|
|
complete -F _git_add_complete gg
|
|
|