mirror of https://github.com/Hilbis/Hilbish
Compare commits
No commits in common. "bb7f9e45f00d854efa9ec93a6abbc84aa38625b3" and "fd478e883f4dd8ee905f8dabb116e55488cfad7c" have entirely different histories.
bb7f9e45f0
...
fd478e883f
2
main.go
2
main.go
|
@ -18,7 +18,7 @@ import (
|
||||||
"golang.org/x/term"
|
"golang.org/x/term"
|
||||||
)
|
)
|
||||||
|
|
||||||
const version = "0.4.1-dev.9"
|
const version = "0.4.1-dev.7"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
l *lua.LState
|
l *lua.LState
|
||||||
|
|
2
shell.go
2
shell.go
|
@ -41,7 +41,7 @@ func RunInput(input string) {
|
||||||
if aliases[cmdArgs[0]] != "" {
|
if aliases[cmdArgs[0]] != "" {
|
||||||
alias := aliases[cmdArgs[0]]
|
alias := aliases[cmdArgs[0]]
|
||||||
cmdString = alias + strings.Trim(cmdString, cmdArgs[0])
|
cmdString = alias + strings.Trim(cmdString, cmdArgs[0])
|
||||||
cmdArgs, cmdString = splitInput(cmdString)
|
cmdArgs[0] = alias
|
||||||
}
|
}
|
||||||
|
|
||||||
// If command is defined in Lua then run it
|
// If command is defined in Lua then run it
|
||||||
|
|
Loading…
Reference in New Issue