alias-tips icon indicating copy to clipboard operation
alias-tips copied to clipboard

Find aliases defined with redirects

Open djui opened this issue 8 years ago • 0 comments

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.

djui avatar May 27 '16 01:05 djui