Move files into nicer subdirectories

This commit is contained in:
2021-09-04 15:07:22 +02:00
parent cc8cf3d12a
commit 8c72bf697e
23 changed files with 28 additions and 11 deletions

View File

@@ -0,0 +1,14 @@
_ghcup()
{
local CMDLINE
local IFS=$'\n'
CMDLINE=(--bash-completion-index $COMP_CWORD)
for arg in ${COMP_WORDS[@]}; do
CMDLINE=(${CMDLINE[@]} --bash-completion-word $arg)
done
COMPREPLY=( $(ghcup "${CMDLINE[@]}") )
}
complete -o filenames -F _ghcup ghcup