From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.help Subject: shell mode aliases? Date: Wed, 02 Nov 2016 11:05:22 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1478081181 23538 195.159.176.226 (2 Nov 2016 10:06:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2016 10:06:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 02 11:06:17 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1sQq-0004if-Ft for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2016 11:06:08 +0100 Original-Received: from localhost ([::1]:53793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1sQt-0002ZS-6f for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2016 06:06:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1sQQ-0002ZA-Po for help-gnu-emacs@gnu.org; Wed, 02 Nov 2016 06:05:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1sQM-0001vH-Qi for help-gnu-emacs@gnu.org; Wed, 02 Nov 2016 06:05:42 -0400 Original-Received: from mx1.bahnhof.se ([213.80.101.11]:36841) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1sQM-0001ty-KT for help-gnu-emacs@gnu.org; Wed, 02 Nov 2016 06:05:38 -0400 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx1-reinject (Postfix) with ESMTP id 729E944F76 for ; Wed, 2 Nov 2016 11:05:34 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF4) Original-Received: from mf4.bahnhof.se ([127.0.0.1]) by localhost (mf4.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fj3sdTSu+9id for ; Wed, 2 Nov 2016 11:05:33 +0100 (CET) Original-Received: from mta.verona.se (h-235-62.a149.priv.bahnhof.se [85.24.235.62]) by mf4.bahnhof.se (Postfix) with ESMTP id 093EC3D7915 for ; Wed, 2 Nov 2016 11:05:32 +0100 (CET) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 7FE474FDF05 for ; Wed, 2 Nov 2016 10:05:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mcEJsuqYrkvR for ; Wed, 2 Nov 2016 11:05:22 +0100 (CET) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id BF3C94FD948 for ; Wed, 2 Nov 2016 11:05:22 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.11 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111649 Archived-At: In eshell I can define an alias and that alias is available in all eshell buffers, regardless of which remote server it is connected to(via tramp). I would like the same feature in my emacs bash shells, that is, define alias locally in my emacs, and somehow have them transfered to the remote bash im using. Maybe I could do something similar via yasnippet, but I had more something in mind like a local alias definition, that gets transfered to the remote shell on demand. -- Joakim Verona joakim@verona.se