2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-01 11:13:24 +00:00

fix: return cmdstr in alias resolve instead of nothing

This commit is contained in:
sammyette 2023-09-30 23:25:03 -04:00
parent 4421869b85
commit a5b6fc8eda
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -53,7 +53,7 @@ func (a *aliasModule) Resolve(cmdstr string) string {
args, _ := splitInput(cmdstr)
if len(args) == 0 {
// this shouldnt reach but...????
return
return cmdstr
}
for a.aliases[args[0]] != "" {