mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix shell tab-completion PATH parsing.
This commit is contained in:
parent
d511bfb75b
commit
3bef590a0f
1 changed files with 1 additions and 1 deletions
|
@ -1804,7 +1804,7 @@ size_t do_complete(char*** completions_ptr,
|
|||
char* path_input = path;
|
||||
char* saved_ptr;
|
||||
char* component;
|
||||
while ( (component = strtok_r(path_input, " ", &saved_ptr)) )
|
||||
while ( (component = strtok_r(path_input, ":", &saved_ptr)) )
|
||||
{
|
||||
if ( DIR* dir = opendir(component) )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue