fix: return cmdstr in alias resolve instead of nothing

pull/240/head^2
sammyette 2023-09-30 23:25:03 -04:00
parent 4421869b85
commit a5b6fc8eda
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

View File

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