diff --git a/aliases.go b/aliases.go index 258f3e6..fc5777e 100644 --- a/aliases.go +++ b/aliases.go @@ -50,7 +50,7 @@ func (a *aliasModule) Resolve(cmdstr string) string { arg, _ := regexp.Compile(`[\\]?%\d+`) - args := strings.Split(cmdstr, " ") + args, _ := splitInput(cmdstr) for a.aliases[args[0]] != "" { alias := a.aliases[args[0]] alias = arg.ReplaceAllStringFunc(alias, func(a string) string {