hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/gils/cat.rv
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-07 22:57:09 +0200
committerhachem <im@hachem.wtf>2026-10-07 22:57:09 +0200
commit5f6deca073728d0dafa2cd47d841b28d54af3aaf (patch)
treeaea2a645d819d52aa95fcc27056a64a355ef64b7 /gils/cat.rv
parente55291a32a8b3f7b5c105cd79e86f3c19f19b3d4 (diff)
fix: relative paths + run revo scripts
Diffstat (limited to 'gils/cat.rv')
-rw-r--r--gils/cat.rv2
1 files changed, 1 insertions, 1 deletions
diff --git a/gils/cat.rv b/gils/cat.rv
index 1cca54b..220ce93 100644
--- a/gils/cat.rv
+++ b/gils/cat.rv
@@ -4,7 +4,7 @@ const context = env.ctx
const parsed = arg_name(context.rest, 0)
if parsed.name:len() == 0 do puts("usage: cat <path>\n") end
else do
- const path = abspath(parsed.name)
+ const path = expand_path(parsed.name)
if vfs_owns(path) do vfs_cat(path) end
else do fs:cat(path) end
end