Find aliases defined with redirects
djui opened this issue · 0 comments
djui commented
Sometimes it makes sense to define an alias with redirect(s) prefixed if additional arguments are prepended.
# alias ggb='2>/dev/null git gui'
$ 2>/dev/null git gui blame foo
$ git gui 2>/dev/null blame foo
$ git gui blame 2>/dev/null foo
$ git gui blame foo 2>/dev/null
Should all be suggestion ggb foo
.
One could imagine stripping the redirects for alias finding and then appending them again for the suggestion.