emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r116848: * tramp.texi (Frequently Asked Questions


From: Michael Albinus
Subject: [Emacs-diffs] emacs-24 r116848: * tramp.texi (Frequently Asked Questions): Add fish shell settings.
Date: Mon, 24 Mar 2014 08:10:47 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116848
revision-id: address@hidden
parent: address@hidden
committer: Michael Albinus <address@hidden>
branch nick: emacs-24
timestamp: Mon 2014-03-24 09:09:42 +0100
message:
  * tramp.texi (Frequently Asked Questions): Add fish shell settings.
modified:
  doc/misc/ChangeLog             changelog-20091113204419-o5vbwnq5f7feedwu-6331
  doc/misc/tramp.texi            tramp.texi-20091113204419-o5vbwnq5f7feedwu-6324
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2014-03-21 07:00:21 +0000
+++ b/doc/misc/ChangeLog        2014-03-24 08:09:42 +0000
@@ -1,3 +1,7 @@
+2014-03-24  Michael Albinus  <address@hidden>
+
+       * tramp.texi (Frequently Asked Questions): Add fish shell settings.
+
 2014-03-21  Glenn Morris  <address@hidden>
 
        * ede.texi (ede-linux):

=== modified file 'doc/misc/tramp.texi'
--- a/doc/misc/tramp.texi       2014-02-21 08:04:15 +0000
+++ b/doc/misc/tramp.texi       2014-03-24 08:09:42 +0000
@@ -3053,15 +3053,28 @@
 If it fails, or the cursor is not moved at the end of the buffer, your
 prompt is not recognized correctly.
 
-A special problem is the zsh, which uses left-hand side and right-hand
-side prompts in parallel.  Therefore, it is necessary to disable the
-zsh line editor on the remote host.  You shall add to @file{~/.zshrc}
-the following command:
+A special problem is the zsh shell, which uses left-hand side and
+right-hand side prompts in parallel.  Therefore, it is necessary to
+disable the zsh line editor on the remote host.  You shall add to
address@hidden/.zshrc} the following command:
 
 @example
 [ $TERM = "dumb" ] && unsetopt zle && PS1='$ '
 @end example
 
+Similar fancy prompt settings are known from the fish shell.  Here you
+must add in @file{~/.config/fish/config.fish}:
+
address@hidden
+function fish_prompt
+  if test $TERM = "dumb"
+     echo "\$ "
+  else
+     @dots{}
+  end
+end
address@hidden example
+
 Furthermore it has been reported, that @value{tramp} (like sshfs,
 incidentally) doesn't work with WinSSHD due to strange prompt settings.
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]