[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EShell Alias for a 'cd' followed by 'ls'

From: Jean Louis
Subject: Re: EShell Alias for a 'cd' followed by 'ls'
Date: Thu, 19 Nov 2020 07:49:15 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Christopher Dimech <> [2020-11-19 05:30]:
> I would like to use Eshell to call an alias 'cl' that does
> a 'cd' to a directory followed by an 'ls'.  But I do not know
> how to achieve it.

This is by using function instead of alias.

(defun cll (&optional dir)
  (cd dir)

I have tried with cl, but there is collision with system command cl.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]