Sometimes can't find an existing command because commands cache isn't refreshed yet (not sure when exactly xonsh does that), so added a non-lazy search that auto-forces the refresh the first time we can't find any command (subsequently it's assumed that the cache is fresh and the command is really missing, might be expensive to refresh cache on every command)
but only for the first time
Sometimes can't find an existing command because commands cache isn't refreshed yet (not sure when exactly xonsh does that), so added a non-lazy search that auto-forces the refresh the first time we can't find any command (subsequently it's assumed that the cache is fresh and the command is really missing, might be expensive to refresh cache on every command)