From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: EShell Alias for a 'cd' followed by 'ls' Date: Thu, 19 Nov 2020 05:10:05 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3560"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Stefan Kangas Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 19 05:12:12 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfbIq-0000pw-9n for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 05:12:12 +0100 Original-Received: from localhost ([::1]:49682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfbIp-0006QY-5d for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 23:12:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfbGs-0006PL-0H for help-gnu-emacs@gnu.org; Wed, 18 Nov 2020 23:10:10 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:46733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfbGq-0003Sh-22 for help-gnu-emacs@gnu.org; Wed, 18 Nov 2020 23:10:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605759005; bh=waDCylIG9R5Lh5DJnF0qc274RG03FY/gUbvsIXLW4H0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=fiF4fpSBUQWfq0sGQmEUvDMrGdFdIwe9l6Nup7fih+jI1SbYO3gBR04aVZJYJbyqF 1aIx2ajewXT13J2wrv8gLZrkn4/BIljPf0K71a4eqGp7zOIDkWQqwqd684um/uRtX0 McLc6iSD7OLieqhcFF7fCEqoXTBhs4vZ8ifSXle8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs05.server.lan [172.19.170.173]) (via HTTP); Thu, 19 Nov 2020 05:10:05 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:IJ2apc+Hh6ler//Qz4yneUlNHeI6P70adDihwFO26FQNzM72XtxNZTrpo63Y2unLOYsHT Q1OfIU3lU9pXpy8lFWj/38Rg983t3EnPjosZEi9Dt05xIAh3AUNIJ9j8+JZhxABQ+leQIJsXeT8F P4t6P6fFfU2JYD900idJebrTzUFew742zJvBIEERaeFzywpkcwnyQEjwC+ovj+7wa9Y8L3PAIBtL 93LKGcN+63BmBFTdJyUQ3hLXMygCcSTjgglX0qnmBfZqB4K3hBVpWVAGgG9o/EeKXCxvfVBkkmHu 3A= X-UI-Out-Filterresults: notjunk:1;V03:K0:+E70+qAGvO8=:oM96046tO63YnF2NRknDxR +BVOea/7TdwGsduvnHd+zoaRCKOQyDO3dL6PsM1/tfd2KUTYOWGnHHFJ6IHOUYp98gE+AriwH gxeKceJ0II8nlLSQclHBf83d/AmXafEEP4rjAaIYgr4bUSo1jG985DWmz28R92MupbnYU8a0O zlr9mWbuv4k8urk1JLmdRSTPrM/U8JfDm9yaR9P05YPb0sgO87UWncNq/dEM7YYpgdW0CY82W pW+UmtW8A6oziunZO3P/mevUDmbkKKb9+fS3ppMKr/9MF4yRKYl9w5kQSl+UYGoPezJ85VPzJ 7YCJw5p3ex9FfZtswDWH6Qm6vcqgrvfmPafK5S4dIchx6s4mXCZr+RA1QNaeHStIuSnya/o3i Eqjia1WsS1BOzb/2zPQpeMiWHfvTCcRrPSWKhB6sHkGOnZ7aNoTo0ASnO9WC31PpUUUhDHDDY bqghVgsliI2FdFEHWTBt0kwSb/gkjffWPtU2wSkwjSpO4vZ5bc/bSk8HRCSdlp7uqXYcC1X2U wBGTUedJxhK811YboBZoFKnPpJ+ueQl3RpYv9bOZwL1stXnG5DVXLwOFfbEm5Jndlbw5T32fJ Rjqj6r6hkZAUE= Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/18 23:10:06 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125351 Archived-At: Have not found it useful. Have tried the following. alias cl 'cd $* && ls $*' > Sent: Thursday, November 19, 2020 at 4:54 AM > From: "Stefan Kangas" > To: "Christopher Dimech" , "Help Gnu Emacs" > Subject: Re: EShell Alias for a 'cd' followed by 'ls' > > Christopher Dimech writes: > > > 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. > > I recommend familiarizing yourself with Info, reachable via `C-h i'. > > You can find the Eshell manual using `m eshell RET' where you should be > able to find the information you are looking for using `i alias RET'. > > Happy to help. >