style: tiny style changes/fixes

windows-fixes
TorchedSammy 2022-01-29 17:43:12 -04:00
parent 22d8a61544
commit 2bc75c8130
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
2 changed files with 2 additions and 1 deletions

View File

@ -173,6 +173,7 @@ func lookpath(file string) error {
return os.ErrNotExist return os.ErrNotExist
} }
func findExecutable(name string) error { func findExecutable(name string) error {
f, err := os.Stat(name) f, err := os.Stat(name)
if err != nil { if err != nil {

View File

@ -3,7 +3,7 @@ local bait = require 'bait'
local commander = require 'commander' local commander = require 'commander'
local fs = require 'fs' local fs = require 'fs'
local lunacolors = require 'lunacolors' local lunacolors = require 'lunacolors'
local _ require 'succulent' -- Function additions local _ = require 'succulent' -- Function additions
local oldDir = hilbish.cwd() local oldDir = hilbish.cwd()
local shlvl = tonumber(os.getenv 'SHLVL') local shlvl = tonumber(os.getenv 'SHLVL')