]> git.armaanb.net Git - charsel.git/blob - shell-completions
update readme, fix -n bug, remove branding
[charsel.git] / shell-completions
1 #!/usr/bin/env bash
2 charfiles()
3 {
4   _script_commands=$(charsel -L)
5
6   local cur prev
7   COMPREPLY=()
8   cur="${COMP_WORDS[COMP_CWORD]}"
9   COMPREPLY=( $(compgen -W "${_script_commands}" -- ${cur}) )
10
11   return 0
12 }
13 complete -o nospace -F charfiles charsel