aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-02-09 19:32:37 +1000
committerGravatar axel <axel@liljencrantz.se>2007-02-09 19:32:37 +1000
commit31ca1218d406b0f0450581c2144275068d9d3d27 (patch)
treeb84b6874b4e17fdbe3ca8571e496acc028e4f369
parent44e8a12b66c798ee0e9a4687dec6ab4b9d49bef8 (diff)
Fix bug where fish would randomly assume completions are authorative
darcs-hash:20070209093237-ac50b-d6ccbddf652a8307c8fd43406fc0ad059a2ba834.gz
-rw-r--r--complete.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/complete.c b/complete.c
index 5557bb0d..9a0f728f 100644
--- a/complete.c
+++ b/complete.c
@@ -417,6 +417,7 @@ static complete_entry_t *complete_get_exact_entry( const wchar_t *cmd,
c->cmd = intern( cmd );
c->cmd_type = cmd_type;
c->short_opt_str = wcsdup(L"");
+ c->authorative = 1;
}
return c;