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:
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…
x
Reference in New Issue
Block a user