hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/gils/head.rv
diff options
context:
space:
mode:
Diffstat (limited to 'gils/head.rv')
-rw-r--r--gils/head.rv2
1 files changed, 1 insertions, 1 deletions
diff --git a/gils/head.rv b/gils/head.rv
index edfd096..addd11a 100644
--- a/gils/head.rv
+++ b/gils/head.rv
@@ -18,7 +18,7 @@ else do
let limit = 10
let path_arg = context.argv[1]
if (context.argv:len() >= 3 and parse_pid(context.argv[1]) >= 0) do limit = parse_pid(context.argv[1]) path_arg = context.argv[2] end
- const lines = file_lines(abspath(path_arg))
+ const lines = file_lines(expand_path(path_arg))
if lines == :nil do puts("head: no such file\n") end
else do
let index = 0