Compare commits

..

1 Commits

Author SHA1 Message Date
sammyette 26fd6cd5fd
Merge 2af38c3bab into 6d07d8db53 2023-09-30 16:55:19 -07:00
1 changed files with 0 additions and 5 deletions

View File

@ -51,11 +51,6 @@ func (a *aliasModule) Resolve(cmdstr string) string {
arg, _ := regexp.Compile(`[\\]?%\d+`)
args, _ := splitInput(cmdstr)
if len(args) == 0 {
// this shouldnt reach but...????
return cmdstr
}
for a.aliases[args[0]] != "" {
alias := a.aliases[args[0]]
alias = arg.ReplaceAllStringFunc(alias, func(a string) string {