Loading .bash_completion.d/git 0 → 100644 +30 −0 Original line number Diff line number Diff line # vim: ft=bash _git_bump () { local cur prev words cword opts _init_completion || return COMPREPLY=($(compgen -W 'major minor patch' -- "$cur")) } _git_license () { local cur prev words cword opts _init_completion || return licenses="$(license -list | awk '{print $1}')" COMPREPLY=($(compgen -W "$licenses" -- "$cur")) } _git_namespace_backup () { local cur prev words cword opts _init_completion || return pushd "$HOME/Repositories" >/dev/null COMPREPLY=($(compgen -o dirnames -d -- "$cur")) popd >/dev/null } _git_skel () { local cur prev words cword opts _init_completion || return pushd "$HOME/.config/git/skel" >/dev/null COMPREPLY=($(compgen -o filenames -f -- "$cur")) popd >/dev/null } .bash_completion.d/git-skeldeleted 100644 → 0 +0 −16 Original line number Diff line number Diff line # vim: ft=bash _git_skel () { local cur prev words cword opts _init_completion || return pushd "$HOME/.config/git/skel" >/dev/null COMPREPLY=($(compgen -o filenames -f -- "$cur")) popd >/dev/null } if [ -f /usr/share/bash-completion/completions/git ] then . /usr/share/bash-completion/completions/git __git_complete git-skel _git_skel fi Loading
.bash_completion.d/git 0 → 100644 +30 −0 Original line number Diff line number Diff line # vim: ft=bash _git_bump () { local cur prev words cword opts _init_completion || return COMPREPLY=($(compgen -W 'major minor patch' -- "$cur")) } _git_license () { local cur prev words cword opts _init_completion || return licenses="$(license -list | awk '{print $1}')" COMPREPLY=($(compgen -W "$licenses" -- "$cur")) } _git_namespace_backup () { local cur prev words cword opts _init_completion || return pushd "$HOME/Repositories" >/dev/null COMPREPLY=($(compgen -o dirnames -d -- "$cur")) popd >/dev/null } _git_skel () { local cur prev words cword opts _init_completion || return pushd "$HOME/.config/git/skel" >/dev/null COMPREPLY=($(compgen -o filenames -f -- "$cur")) popd >/dev/null }
.bash_completion.d/git-skeldeleted 100644 → 0 +0 −16 Original line number Diff line number Diff line # vim: ft=bash _git_skel () { local cur prev words cword opts _init_completion || return pushd "$HOME/.config/git/skel" >/dev/null COMPREPLY=($(compgen -o filenames -f -- "$cur")) popd >/dev/null } if [ -f /usr/share/bash-completion/completions/git ] then . /usr/share/bash-completion/completions/git __git_complete git-skel _git_skel fi