Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Problem with user function



On Fri, Feb 23, 2024 at 7:16 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> On 2024-02-23 09:49, Duke Normandin wrote:
>
> nls() {ls --group-directories-first -c --color ~/notes/${1} }
>
> You'll be getting better answers shortly, but for now:
>
> You can't have an alias like that inside a function.

You can. Try it.

Roman.




Messages sorted by: Reverse Date, Date, Thread, Author