From: Giovanni Biscuolo <g@xelera.eu>
To: George Clemmer <myglc2@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: how to customize shell prompt (for emacs tramp compatibility)
Date: Fri, 14 Dec 2018 16:14:00 +0100 [thread overview]
Message-ID: <87woocp2dj.fsf@roquette.mug.biscuolo.net> (raw)
In-Reply-To: <cuc4lbht9sn.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]
Hi!
George Clemmer <myglc2@gmail.com> writes:
[...]
> --8<---------------cut here---------------start------------->8---
> ;; Make tramp work from macOS to GuixSD
> (require 'tramp)
> (setq tramp-remote-path
> (append tramp-remote-path
> '(tramp-own-remote-path)))
> (setq tramp-remote-path
> (append tramp-remote-path
> '("~/.guix-profile/bin" "~/.guix-profile/sbin"
> "/run/current-system/profile/bin" "/run/current-system/profile/sbin")))
> --8<---------------cut here---------------end--------------->8---
great, it worked! (I'm on Debian, so it's cross OS ;-) )
> The net effect ends up cached on the mac in ~/.emacs.d/tramp ...
>
> --8<---------------cut here---------------start------------->8---
[...]
> ("ls" "/run/current-system/profile/bin/ls --color=never")
[...]
> --8<---------------cut here---------------end--------------->8---
the same here: with the above tramp-remote-path definition, it found a
proper ls on the remote guix(SD) host
thank you very much!
happy hacking!
Gio
P.S.: from an "old school" sysadmin with FHS printed in every neuron,
guix is a mind blowing and refreshing experience :-)
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
prev parent reply other threads:[~2018-12-14 15:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-13 17:32 how to customize shell prompt (for emacs tramp compatibility) Giovanni Biscuolo
2018-12-13 21:07 ` George Clemmer
2018-12-14 15:14 ` Giovanni Biscuolo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87woocp2dj.fsf@roquette.mug.biscuolo.net \
--to=g@xelera.eu \
--cc=help-guix@gnu.org \
--cc=myglc2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.