F-Sy-H-s prediction of FPATH's and fpath's value (2)

by zdharma
macOS ◆ xterm-256color ◆ bash 660 views

Fast-Syntax-Highlighting knows that $FPATH will have an additional value(s) before pressing Enter (i.e. before scheduling the whole command-line to the execution).

Also, it knows if autoload will succeed to provide a function, and knows this before the time of the scheduling of the whole command-line to the execution (i.e. before accepting with Enter).

Also, abc; abc() { : }; abc is supported: the second abc invocation will not be marked as an error.