Is your feature request related to a problem? Please describe.
Commands that accepts a file or directory shouldn't be suggested when the argument is invalid
Describe the solution you'd like
Just like fish, only suggest the command the works.
For example, cd ~/.vim can be suggested from anywhere but not cd .vim if the .vim directory doesn't exist in the pwd.
Is your feature request related to a problem? Please describe.
Commands that accepts a file or directory shouldn't be suggested when the argument is invalid
Describe the solution you'd like
Just like fish, only suggest the command the works. For example,
cd ~/.vim
can be suggested from anywhere but notcd .vim
if the .vim directory doesn't exist in the pwd.