gsl-statique-litterateur/usr/share/bash-completion/completions/gsl

13 lines
225 B
Plaintext
Raw Normal View History

_gsl_completions()
{
local gslfiles cur
gslfiles=$(ls -1 *.gsl 2>/dev/null)
cur="${COMP_WORDS[COMP_CWORD]}"
COMPREPLY=( $(compgen -W "$gslfiles" -- ${cur}) )
return 0
}
complete -F _gsl_completions gsl