emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/ivy-hydra 982a5ac 150/395: ivy.el (ivy--tramp-candidate


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 982a5ac 150/395: ivy.el (ivy--tramp-candidates): The initial directory on remote should be "/"
Date: Thu, 25 Feb 2021 08:31:51 -0500 (EST)

branch: externals/ivy-hydra
commit 982a5ac06e1f20b3a2e41768204de17dd8d1fd84
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ivy.el (ivy--tramp-candidates): The initial directory on remote should be 
"/"
    
    Previously, we would start at user's home. Now, we can press "~" to reach 
it.
    Instead, we have much easier access to "/etc".
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index fd74a0c..4f7514c 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1087,7 +1087,7 @@ contains a single candidate.")
       (setq ivy-last old-ivy-last)
       (when host
         (setq ivy--directory "/")
-        (ivy--cd (concat "/" method ":" host ":"))))))
+        (ivy--cd (concat "/" method ":" host ":/"))))))
 
 (defun ivy--directory-done ()
   "Handle exit from the minibuffer when completing file names."



reply via email to

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