branch: externals/ivy-hydra
commit 982a5ac06e1f20b3a2e41768204de17dd8d1fd84
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    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