Change remaining sbtc to sbtn

This commit is contained in:
Ethan Atkins 2020-08-15 09:35:25 -07:00
parent 8ce423b088
commit 6bc784a195
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#compdef sbtn
COMPLETE="--completions=${words[@]}"
COMPLETIONS=($(sbtc --no-tab ${COMPLETE}))
COMPLETIONS=($(sbtn --no-tab ${COMPLETE}))
_alternative 'arguments:custom arg:($COMPLETIONS)'

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
_do_sbtn_completions() {
COMPREPLY=($(sbtc "--completions=${COMP_LINE}"))
COMPREPLY=($(sbtn "--completions=${COMP_LINE}"))
}
complete -F _do_sbtn_completions sbtn

View File

@ -1,4 +1,4 @@
function __sbtcomp
sbtc --completions="$argv"
sbtn --completions="$argv"
end
complete --command sbtn -f --arguments '(__sbtcomp (commandline -cp))'