diff --git a/preload.lua b/preload.lua index fff19b3..41f5bc4 100644 --- a/preload.lua +++ b/preload.lua @@ -7,7 +7,7 @@ require 'succulent' -- Function additions local oldDir = hilbish.cwd() local shlvl = tonumber(os.getenv 'SHLVL') -if shlvl ~= nil then os.setenv('SHLVL', shlvl + 1) else os.setenv('SHLVL', 1) end +if shlvl ~= nil then os.setenv('SHLVL', shlvl + 1) else os.setenv('SHLVL', 0) end -- Builtins local recentDirs = {}