mirror of https://github.com/Hilbis/Hilbish
Compare commits
3 Commits
fd478e883f
...
bb7f9e45f0
Author | SHA1 | Date |
---|---|---|
sammy | bb7f9e45f0 | |
sammy | edd45e4182 | |
sammy | f9c1eced68 |
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.7"
|
const version = "0.4.1-dev.9"
|
||||||
|
|
||||||
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[0] = alias
|
cmdArgs, cmdString = splitInput(cmdString)
|
||||||
}
|
}
|
||||||
|
|
||||||
// If command is defined in Lua then run it
|
// If command is defined in Lua then run it
|
||||||
|
|
Loading…
Reference in New Issue