git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Felipe ContrerasNext: Jeff King
Message 5 of 8 in “completion: bash: support recursive aliases”
  1. completion: bash: support recursive aliasesFelipe Contreras, Nov 9, 2020
  2. Taylor BlauNov 9, 2020
  3. Junio C HamanoNov 9, 2020
  4. Felipe ContrerasNov 10, 2020
  5. Felipe ContrerasNov 10, 2020
  6. Jeff KingNov 9, 2020
  7. Felipe ContrerasNov 10, 2020
  8. Jeff KingNov 10, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.