diff --git a/src/rt/elements/prompt.ts b/src/rt/elements/prompt.ts index 09de7e5..828879d 100644 --- a/src/rt/elements/prompt.ts +++ b/src/rt/elements/prompt.ts @@ -1,5 +1,5 @@ import { cyan, green } from "../shell/color" -import { get_working_dir_name } from "../shell/fs/fn" +import { get_working_dir_name } from "../shell/fs/library" import create from "./create" diff --git a/src/rt/shell/command/builtin/cd.ts b/src/rt/shell/command/builtin/cd.ts index e05a547..362291b 100644 --- a/src/rt/shell/command/builtin/cd.ts +++ b/src/rt/shell/command/builtin/cd.ts @@ -1,4 +1,4 @@ -import { set_working_dir, SetDirStatus } from "../../fs/fn" +import { set_working_dir, SetDirStatus } from "../../fs/library" import type { Args, Term } from "../list" import stdout from "../../../elements/stdout" diff --git a/src/rt/shell/command/builtin/ls.ts b/src/rt/shell/command/builtin/ls.ts index fe3d531..b2438f6 100644 --- a/src/rt/shell/command/builtin/ls.ts +++ b/src/rt/shell/command/builtin/ls.ts @@ -1,7 +1,7 @@ import type { Args, Term } from "../list"; import { blue } from "../../color"; -import { get_working_dir_entries } from "../../fs/fn"; -import { EntryType, FsEntry } from "../../fs/fs"; +import { get_working_dir_entries } from "../../fs/library"; +import { EntryType, FsEntry } from "../../fs/core"; import stdout, { stdout_horizontal_elements } from "../../../elements/stdout"; import create from "../../../elements/create"; diff --git a/src/rt/shell/command/builtin/pwd.ts b/src/rt/shell/command/builtin/pwd.ts index 7e611e2..b686d1e 100644 --- a/src/rt/shell/command/builtin/pwd.ts +++ b/src/rt/shell/command/builtin/pwd.ts @@ -1,4 +1,4 @@ -import { get_working_dir_name_full } from "../../fs/fn"; +import { get_working_dir_name_full } from "../../fs/library"; import type { Args, Term } from "../list"; import stdout from "../../../elements/stdout"; diff --git a/src/rt/shell/fs/fs.ts b/src/rt/shell/fs/core.ts similarity index 100% rename from src/rt/shell/fs/fs.ts rename to src/rt/shell/fs/core.ts diff --git a/src/rt/shell/fs/fn.ts b/src/rt/shell/fs/library.ts similarity index 99% rename from src/rt/shell/fs/fn.ts rename to src/rt/shell/fs/library.ts index bcee1c3..4e69ea1 100644 --- a/src/rt/shell/fs/fn.ts +++ b/src/rt/shell/fs/library.ts @@ -1,4 +1,4 @@ -import { EntryType, fs, type FsDirectory, type FsEntry } from "./fs" +import { EntryType, fs, type FsDirectory, type FsEntry } from "./core" let working_dir = ["/", "home", "user"]