diff options
Diffstat (limited to 'builtin_complete.cpp')
-rw-r--r-- | builtin_complete.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/builtin_complete.cpp b/builtin_complete.cpp index e306c739..691fad2b 100644 --- a/builtin_complete.cpp +++ b/builtin_complete.cpp @@ -224,6 +224,14 @@ static void builtin_complete_remove2(const wchar_t *cmd, } } } + else if (gnu_opt.empty() && old_opt.empty()) + { + complete_remove(cmd, + cmd_type, + 0, + 0, + 0); + } else { builtin_complete_remove3(cmd, |