Compare commits

..

No commits in common. "a5b6fc8edaceb94a0852e62dd096da1b9733cf86" and "6d07d8db531668dce4afc0158c36e90850083c7c" have entirely different histories.

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+`) arg, _ := regexp.Compile(`[\\]?%\d+`)
args, _ := splitInput(cmdstr) args, _ := splitInput(cmdstr)
if len(args) == 0 {
// this shouldnt reach but...????
return cmdstr
}
for a.aliases[args[0]] != "" { for a.aliases[args[0]] != "" {
alias := a.aliases[args[0]] alias := a.aliases[args[0]]
alias = arg.ReplaceAllStringFunc(alias, func(a string) string { alias = arg.ReplaceAllStringFunc(alias, func(a string) string {