Compare commits

...

3 Commits

Author SHA1 Message Date
sammyette ddf5117fd9
chore: bump version 2024-07-26 18:08:43 -04:00
sammyette 5b46158008
fix(commands/cd): use absolute paths to cd 2024-07-26 18:08:26 -04:00
sammyette a41a5504f4
fix(nature/tips): opt typo 2024-07-26 18:07:55 -04:00
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ commander.register('cd', function (args, sinks)
dirs.setOld(hilbish.cwd())
dirs.push(path)
local ok, err = pcall(function() fs.cd(path) end)
local ok, err = pcall(function() fs.cd(fs.abs(path)) end)
if not ok then
sinks.out:writeln(err)
return 1

View File

@ -27,7 +27,7 @@ hilbish.tips = {
}
bait.catch('hilbish.init', function()
if hilbish.interactive and hilbish.opts.tip then
if hilbish.interactive and hilbish.opts.tips then
local idx = math.random(1, #hilbish.tips)
print(lunacolors.format(PREAMBLE .. "\nTip: " .. hilbish.tips[idx]))
end

View File

@ -11,7 +11,7 @@ var (
// Version info
var (
ver = "v2.3.0"
ver = "v2.3.1"
releaseName = "Alyssum"
gitCommit string