[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to customize shell prompt (for emacs tramp compatibility)
From: |
Giovanni Biscuolo |
Subject: |
Re: how to customize shell prompt (for emacs tramp compatibility) |
Date: |
Fri, 14 Dec 2018 16:14:00 +0100 |
Hi!
George Clemmer <address@hidden> 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
signature.asc
Description: PGP signature