-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
Thank you for reply my question of #126
my.sh
_args() {
_init_completion -n 2> /dev/null
local program comparg
program="${COMP_WORDS[0]}"
comparg="--complete"
COMPREPLY=($("$program" "$comparg" bash "$COMP_CWORD" "${COMP_WORDS[@]}" 2> /dev/null))
[[ $COMPREPLY ]] && return
_filedir
}
complete -F _args application
cp my.sh to /etc/profile.d/
source /etc/profile
CentOS 9 works well, but on the Raspberry Pi 5, the system cannot boot into the GUI and always stays on the "Login" window.
After removing the complete -F _args command, the Raspberry Pi 5 works well.
Has anyone encountered this?
Metadata
Metadata
Assignees
Labels
No labels