diff options
author | Alan Pearce | 2016-01-09 17:45:42 +0100 |
---|---|---|
committer | Alan Pearce | 2016-01-09 17:45:42 +0100 |
commit | a1385303f99a383252e18d9affa0d40f12aa2bd7 (patch) | |
tree | 0749a28a492b6b2038feed36c6f503139a1cff22 /tag-emacs | |
parent | 069922e569c9f3729b2a6f48d414608e98e3344b (diff) | |
download | dotfiles-a1385303f99a383252e18d9affa0d40f12aa2bd7.tar.lz dotfiles-a1385303f99a383252e18d9affa0d40f12aa2bd7.tar.zst dotfiles-a1385303f99a383252e18d9affa0d40f12aa2bd7.zip |
Emacs: Fix tramp prompt hanging on certain prompts
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 02be584..410a18b 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -681,7 +681,7 @@ that I can sudo on remote machines (not (let ((method (file-remote-p name 'method))) (when (stringp method) (member method '("su" "sudo"))))))) - tramp-shell-prompt-pattern "\\(?:^\\| \\)[^#$%>\n]*#?[#$%>›] *\\(\\[[0-9;]*[a-zA-Z] *\\)*") + tramp-shell-prompt-pattern "\\(?:^\\| \\)[^]#$%>\n]*#?[]#$%>❯›] *\\(\\[[0-9;]*[a-zA-Z] *\\)*") (add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" (concat "/" tramp-default-method ":%h:"))) (add-to-list 'tramp-default-proxies-alist `(,(regexp-quote (system-name)) nil nil)) (add-to-list 'tramp-default-proxies-alist '("localhost" nil nil)) |