branch: master
commit 9caa6acc510c04734c2887c1d194fd387b4da114
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el (ivy--directory-done): Fix "/sudo::" in current dir
    
    Re #1232
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index e232997..d3ea381 100644
--- a/ivy.el
+++ b/ivy.el
@@ -719,7 +719,7 @@ When ARG is t, exit with current text, ignoring the 
candidates."
   (let (dir)
     (cond
       ((equal ivy-text "/sudo::")
-       (setq dir (concat ivy-text ivy--directory))
+       (setq dir (concat ivy-text (expand-file-name ivy--directory)))
        (ivy--cd dir)
        (ivy--exhibit))
       ((and

Reply via email to