mirror of https://github.com/Hilbis/Hilbish
parent
81f7b77b8b
commit
36ea20b550
3
shell.go
3
shell.go
|
@ -121,7 +121,8 @@ func execCommand(cmd string) error {
|
||||||
if aliases[args[0]] != "" {
|
if aliases[args[0]] != "" {
|
||||||
alias := aliases[args[0]]
|
alias := aliases[args[0]]
|
||||||
argstring = alias + strings.TrimPrefix(argstring, args[0])
|
argstring = alias + strings.TrimPrefix(argstring, args[0])
|
||||||
args[0] = alias
|
cmdArgs, _ := splitInput(argstring)
|
||||||
|
args = cmdArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
// If command is defined in Lua then run it
|
// If command is defined in Lua then run it
|
||||||
|
|
Loading…
Reference in New Issue