Re: [PATCH] completion: bash: support recursive aliases
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Nov 10, 2020, 00:59 UTC
- Message-ID
- <CAMP44s3CsC_gHNA2SjfAqhPorKHCgK-yG39fN+VzUw4Q+opwNg@mail.gmail.com>
- In-Reply-To
- <X6m8R9erSxGlPXq2@nand.local>
On Mon, Nov 9, 2020 at 4:01 PM Taylor Blau <me@ttaylorr.com> wrote:
Show 5 quoted lines
> > l = log --oneline > > lg = l --graph > > Is not even recursive. I would instead recommend calling 'lg' a "nested" > alias.
Perhaps. In my mind these are recursive.
It also follows the more general understanding of recursion, for example:
"Dorothy thinks witches are dangerous".
Is considered a recursive sentence. See [1].
But if anyone else prefers the term "nested" for this, I would gladly update the patch.
Cheers.
[1] https://en.wikipedia.org/wiki/Recursion#In_language
-- Felipe Contreras