complete-alias
complete-alias copied to clipboard
Pattern will never match
Line 777: This pattern never matches because of a previous pattern on line 761.
command is already checked for in line 761, so line 777 will never be called.
__compal__unmask_alias_manual() {
local cmd="$1"
case "$cmd" in
...
...
... 👇
761: command | type | which )
complete -c "$cmd"
;;
...
... 👇
777: aoss | command | do | else ... )
complete -F _command "$cmd"
;;
...)
esac
}
https://github.com/cykerway/complete-alias/blob/7f2555c2fe7a1f248ed2d4301e46c8eebcbbc4e2/complete_alias#L777C14-L777C21