From 5c9a11798520f8dd5a737135339e66a244def587 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sun, 21 Mar 2021 04:09:45 -0400 Subject: [PATCH] fix: only try to change directory if one was provided --- .hilbishrc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.hilbishrc.lua b/.hilbishrc.lua index 5afb593..c8f0716 100644 --- a/.hilbishrc.lua +++ b/.hilbishrc.lua @@ -6,7 +6,7 @@ commander = require 'commander' ansikit = require 'ansikit' commander.register("cd", function (path) - if path then + if #path == 1 then fs.cd(path[1]) end end)