2
3
zrcadlo https://github.com/sammy-ette/Hilbish synchronizováno 2025-08-10 02:52:03 +00:00

fix: aliases for lua commands

Tento commit je obsažen v:
sammy 2021-04-20 19:26:33 -04:00
rodič 7b0b06d9bf
revize bdc8c770e6
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID GPG klíče: 50EE40A2809851F5

Zobrazit soubor

@ -31,7 +31,9 @@ func RunInput(input string) {
// If alias was found, use command alias // If alias was found, use command alias
if aliases[cmdArgs[0]] != "" { if aliases[cmdArgs[0]] != "" {
cmdString = aliases[cmdArgs[0]] + strings.Trim(cmdString, cmdArgs[0]) alias := aliases[cmdArgs[0]]
cmdString = alias + strings.Trim(cmdString, cmdArgs[0])
cmdArgs[0] = alias
} }
// If command is defined in Lua then run it // If command is defined in Lua then run it