diff options
Diffstat (limited to 'gils')
| -rw-r--r-- | gils/ed.rv | 2 | ||||
| -rw-r--r-- | gils/gils.rv | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -124,7 +124,7 @@ end fn ed_quit(state) do state.active = :false - puts("% ") + puts(prompt()) end global ed_state = { active = :false, input = :false, path = "", lines = {}, dot = 0, insert_at = 0, dirty = :false } diff --git a/gils/gils.rv b/gils/gils.rv index 1a61cc5..afd0bbd 100644 --- a/gils/gils.rv +++ b/gils/gils.rv @@ -24,10 +24,6 @@ end # scripts read their args off env.ctx, stashed here before eval global env = { ctx = :nil } -# working dir + path resolver, shared by every gils tool and the shell. lives -# here so its declared before anything that uses it gets concatenated -global wd = { path = "/" } - global abspath = fn(arg) do if arg:len() == 0 return wd.path let path = arg |
