From 2bc75c81304bdea13d2da0edc5207fe30464b72c Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 29 Jan 2022 17:43:12 -0400 Subject: [PATCH] style: tiny style changes/fixes --- exec.go | 1 + preload.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exec.go b/exec.go index 2c06537..02e9d7d 100644 --- a/exec.go +++ b/exec.go @@ -173,6 +173,7 @@ func lookpath(file string) error { return os.ErrNotExist } + func findExecutable(name string) error { f, err := os.Stat(name) if err != nil { diff --git a/preload.lua b/preload.lua index eaa8d43..0d42ba7 100644 --- a/preload.lua +++ b/preload.lua @@ -3,7 +3,7 @@ local bait = require 'bait' local commander = require 'commander' local fs = require 'fs' local lunacolors = require 'lunacolors' -local _ require 'succulent' -- Function additions +local _ = require 'succulent' -- Function additions local oldDir = hilbish.cwd() local shlvl = tonumber(os.getenv 'SHLVL')