mirror of https://github.com/Hilbis/Hilbish
fix: return cmdstr in alias resolve instead of nothing
parent
4421869b85
commit
a5b6fc8eda
|
@ -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]] != "" {
|
||||||
|
|
Loading…
Reference in New Issue