immich-go
immich-go copied to clipboard
"completion" subcommand includes header and footer in output and breaks completions
> immich-go completion bash
. _ _ _ _ . _|_ _ _
|| | || | ||(_| | ─ (_|(_)
v 0.25.2 _)
Log file: /Users/user/Library/Caches/immich-go/immich-go_2025-04-06_02-04-56.log
# bash completion V2 for immich-go -*- shell-script -*-
__immich-go_debug()
{
if [[ -n ${BASH_COMP_DEBUG_FILE-} ]]; then
echo "$*" >> "${BASH_COMP_DEBUG_FILE}"
fi
}
...
# ex: ts=4 sw=4 et filetype=sh
Check the log file: /Users/user/Library/Caches/immich-go/immich-go_2025-04-06_02-04-56.log
This also includes the __complete subcommand (i.e. immich __complete upl) that is run by the completion scripts.
Not a surprise, but it also affects completions for fish.