fix(redox): file: prefix does not break expansion in ion shell anymore
fix:
replaces prefix "file:" with leading "/" before glob expansion of path. Commands like ls now work on redox os even if the prefix "file:" is before given path.
On redox os commands like
ls file:/*
ls file:*
ls file:home/user
are now equal to
ls /*
ls /*
ls /home/user
On a non redox system the command
ls file:/*
still does not show files unless the name of files are prefixed with "file:/"
Note: something like "file:/*" also work. Reason: "file:" is just stripped in this case because there is already a leading "/".
Addresses issue but does not fix it completely:
Covers cases like file:/path/to/everything/, but not cases like disk: not.
test:
Unit tests for checking if "file:" is replaced by leading "/" in path which starts with "file:" are provided.
refactor:
no
docs:
Documented in new chapter for Redox Os in respect to expansion how ion handles the file scheme in a path.
perf:
none
Edited by Florian Naumann