branch: master
commit 10af5a665e242f7765f6fb161156a5984113cf4b
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el (ivy-done): Still expand "./" though
---
ivy.el | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ivy.el b/ivy.el
index 92c9771..6717cf6 100644
--- a/ivy.el
+++ b/ivy.el
@@ -154,7 +154,9 @@ When non-nil, it should contain one %d.")
(cond (ivy--directory
(insert
(cond ((string= ivy-text "")
- ivy--current)
+ (if (equal ivy--current "./")
+ ivy--directory
+ ivy--current))
((zerop ivy--length)
(expand-file-name ivy-text ivy--directory))
(t