From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.help Subject: Re: EShell Alias for a 'cd' followed by 'ls' Date: Wed, 18 Nov 2020 19:54:46 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21475"; mail-complaints-to="usenet@ciao.gmane.io" To: Christopher Dimech , Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 19 04:56:44 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 1kfb3r-0005UC-Ld for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 04:56:43 +0100 Original-Received: from localhost ([::1]:43238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfb3q-000327-Nz for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 22:56:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfb22-0002dJ-58 for help-gnu-emacs@gnu.org; Wed, 18 Nov 2020 22:54:50 -0500 Original-Received: from mail-ed1-f41.google.com ([209.85.208.41]:37725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfb20-0006Oa-Fk for help-gnu-emacs@gnu.org; Wed, 18 Nov 2020 22:54:49 -0500 Original-Received: by mail-ed1-f41.google.com with SMTP id cq7so4349877edb.4 for ; Wed, 18 Nov 2020 19:54:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to; bh=yaJAEBBBMYFpo0fcG3IpTwKPmq7zgLaT3oeH6adxyjM=; b=Z6NGTtqGlaUeb439U+b72ARjjzwGmvp/3CUEzhOUtu6tupJC4e4jcamo2QXJxx4zEe yYdIwIhCXyHIuFZ/UYqRfVC/Tt2geDofwrJDRE37rOWCdS0qqBiVpRZngfRPWFYo/g+Z NL30GstHdawO0thC/kDDHyY3toMrTr1nYPdQPRTn8A2D0xmb4tBl1umBhKGiPqDJ7CHS CcUzkfVw0a6G6dmeXCFxXjbz8GgXsLPp436hXpnycJ1kUiVAp1+GhBxc33M34RIC7JDV 6Tas9ff00LZ491PbuNxkjtRLTAzb3AGXnsaEZmtMdmP3xa+zBhJJxezpm66G0XgsVR4O TQPg== X-Gm-Message-State: AOAM5306d7SkGiHZ6rTTw4O5Wj9JhDrlONEWlmlkD8DYOEdrgUeaNs+c 2UGzcr2sqyGKEhLk6XqGzo813EoVEfWFjn8w3EE= X-Google-Smtp-Source: ABdhPJzjcj+LL0A0tRWQqL7aIDbp6nzWml6ecqxt1XOEufTPbDml4dRV4+RrVhaSAm39sTKGdSmq05G4IyvH6p4I4ZU= X-Received: by 2002:aa7:d888:: with SMTP id u8mr29616241edq.210.1605758086968; Wed, 18 Nov 2020 19:54:46 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 18 Nov 2020 19:54:46 -0800 In-Reply-To: Received-SPF: pass client-ip=209.85.208.41; envelope-from=stefankangas@gmail.com; helo=mail-ed1-f41.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/18 22:44:20 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:125350 Archived-At: 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.