mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Fix for busted completions (tab completion of directories was failing)
This commit is contained in:
parent
afcda2f724
commit
caf7a93382
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ static int wildcard_expand_internal( const wchar_t *wc,
|
||||||
{
|
{
|
||||||
res = 1;
|
res = 1;
|
||||||
completion_t data_to_push(base_dir);
|
completion_t data_to_push(base_dir);
|
||||||
if ( std::find( out.begin(), out.end(), data_to_push ) != out.end() ){
|
if (std::find( out.begin(), out.end(), data_to_push ) == out.end()) {
|
||||||
out.push_back( data_to_push);
|
out.push_back( data_to_push);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue