[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eshell shortcuts for remote tramp paths?
From: |
Michael Albinus |
Subject: |
Re: eshell shortcuts for remote tramp paths? |
Date: |
Wed, 27 May 2015 09:41:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
joakim@verona.se writes:
Hi Joakim,
> Say that I open an eshell and do:
>
> cd /scp:joakim@192.168.201.58:/home/joakim/nextv
>
> My commands now work remotely. nice.
>
> However, I now want to do ~/bin/lein on the remote. Is there some
> shorcut for this? otherwise I need to type:
> /scp:joakim@192.168.201.58:/home/joakim/bin/lein run
>
> Its the same when trying to refer to the remote root path, /.
- You could use relative paths:
../bin/lein run
- You could add "/home/joakim/bin/" to your remote $PATH env var
- You could try one of the tricks (not tested in eshell) described in
(info "(tramp) Frequently Asked Questions")
Best regards, Michael.