aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMichael Albinus2019-09-18 14:11:55 +0200
committerMichael Albinus2019-09-18 14:11:55 +0200
commit5ec42d5cb5219a73b5f4e9e17624bd01a138aea4 (patch)
treeefb4c736944c141d32912020029239aaa58276dd /lisp
parent735940f4551a43f3b4381105dc074cd7d494f2f3 (diff)
downloademacs-5ec42d5cb5219a73b5f4e9e17624bd01a138aea4.tar.gz
emacs-5ec42d5cb5219a73b5f4e9e17624bd01a138aea4.zip
Add extra args for zsh in Tramp
* doc/misc/tramp.texi (Remote shell setup): New subsection "Changing the default remote shell". * lisp/net/tramp-sh.el (tramp-sh-extra-args): Add entry for zsh.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/tramp-sh.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index 4bc37f01694..8092f6a5cf1 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -525,7 +525,9 @@ based on the Tramp and Emacs versions, and should not be set here."
525 :type '(repeat string)) 525 :type '(repeat string))
526 526
527;;;###tramp-autoload 527;;;###tramp-autoload
528(defcustom tramp-sh-extra-args '(("/bash\\'" . "-norc -noprofile")) 528(defcustom tramp-sh-extra-args
529 '(("/bash\\'" . "-norc -noprofile")
530 ("/zsh\\'" . "-f +Z"))
529 "Alist specifying extra arguments to pass to the remote shell. 531 "Alist specifying extra arguments to pass to the remote shell.
530Entries are (REGEXP . ARGS) where REGEXP is a regular expression 532Entries are (REGEXP . ARGS) where REGEXP is a regular expression
531matching the shell file name and ARGS is a string specifying the 533matching the shell file name and ARGS is a string specifying the