Created
September 29, 2018 12:21
-
-
Save mathieu-aubin/4bfe8f98682bfdf0662edc13f9d13559 to your computer and use it in GitHub Desktop.
Perlbrew (https://github.com/gugod/App-perlbrew) bash completion file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ -n ${ZSH_VERSION-} ]]; then | |
autoload -U +X bashcompinit && bashcompinit | |
fi | |
export PERLBREW="command perlbrew" | |
_perlbrew_compgen() { | |
COMPREPLY=( $($PERLBREW compgen $COMP_CWORD ${COMP_WORDS[*]}) ) | |
} | |
complete -F _perlbrew_compgen perlbrew |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment