Make sure that command specific completions can handle input strings with wildcards reasonably well

darcs-hash:20060219011432-ac50b-89a73a3d414f2dbd8a213b851fcb1c494e022eae.gz
This commit is contained in:
axel
2006-02-19 11:14:32 +10:00
parent 0840c9248f
commit 43ab84397b
7 changed files with 56 additions and 10 deletions

2
main.c
View File

@@ -205,7 +205,7 @@ int main( int argc, char **argv )
my_optind = optind;
is_login |= strcmp( argv[0], "-fish") == 0;
is_login |= (strcmp( argv[0], "-fish") == 0);
is_interactive_session &= (cmd == 0);
is_interactive_session &= (my_optind == argc);