diff options
| author | hachem <im@hachem.wtf> | 2026-10-11 02:16:56 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-10-11 02:16:56 +0200 |
| commit | 59794d0b999e544a94230d9562bf2b99d2ed74c7 (patch) | |
| tree | a001db5b5ebb9453d6a0e96f56b36e6ec3ccdd51 /kernel/shell.rv | |
| parent | 88750ed7132c08bcfb24e878c893ef7185c3c0b0 (diff) | |
feat: actual real vfs, not a faked one lmao
Diffstat (limited to 'kernel/shell.rv')
| -rw-r--r-- | kernel/shell.rv | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/shell.rv b/kernel/shell.rv index e016d18..e5f4caf 100644 --- a/kernel/shell.rv +++ b/kernel/shell.rv @@ -128,9 +128,7 @@ fn cmd_cd(context) do const target = if (arg == "..") parent_of(wd.path) else expand_path(arg) - if target == "/proc" - or target == "/bin" - or fs:is_dir(target) do + if vfs:is_dir(target) do wd.path = target end else do fail("cd: #{arg}: not a directory\n") |
