all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: help-guix@gnu.org
Subject: how to customize shell prompt (for emacs tramp compatibility)
Date: Thu, 13 Dec 2018 18:32:16 +0100	[thread overview]
Message-ID: <874lbhgwnz.fsf@roquette.mug.biscuolo.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

Hi,

I'm having problems to remotely browse my guixsd testing host using
emacs dired via tramp, the exact error message I get is:

--8<---------------cut here---------------start------------->8---
tramp-file-name-handler: Couldn’t find a proper ‘ls’ command
--8<---------------cut here---------------end--------------->8---

I found this explanation on stackexchange
https://stackoverflow.com/questions/6954479/emacs-tramp-doesnt-work/8363532#8363532

actually PS1 is \u@\h \w\$, it should be \u@\h:\w\$ to be "tramp
compatible"

please is there a way to declaratively customize user prompts in
config.scm or similar?

should that "unusual" prompt considered a bug to be fixed? [1]

best regards
Gio


[1] I'm going where it's defined and try to propose a patch in guix-devel


-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

             reply	other threads:[~2018-12-13 17:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-13 17:32 Giovanni Biscuolo [this message]
2018-12-13 21:07 ` how to customize shell prompt (for emacs tramp compatibility) George Clemmer
2018-12-14 15:14   ` Giovanni Biscuolo

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=874lbhgwnz.fsf@roquette.mug.biscuolo.net \
    --to=g@xelera.eu \
    --cc=help-guix@gnu.org \
    /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.