Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ivy-immediate-done discards directory path #275

Closed
rudolfochrist opened this issue Oct 22, 2015 · 2 comments
Closed

ivy-immediate-done discards directory path #275

rudolfochrist opened this issue Oct 22, 2015 · 2 comments

Comments

@rudolfochrist
Copy link
Contributor

Hi there,

I think i found a bug in that ivy-immediate-done discards the directory path. The following concrete example should clarify my problem:

I have my newsrc file under ~/Dropbox/dotfiles/newsrc. In dired I'd like to create a symlink for my newsrc file under ~/.newsrc. What I've done was typing S to create a symlink in dired. In the minibuffer I typed ~ for my home directory (ivy feature) and entered .newsrc as the symlink's name. However, I've already got ~/.newsrc.eld and this get presented as candidate by ivy. When I now press C-u C-j for ivy-immediate-done the symlink gets created in the current directory (in the concrete case ~/Dropbox/dotfiles) instead of being created in my home directory.

Somewhere inbetween of ivy and dired the directory path gets lost.

Best wishes,

-- Sebastian

@abo-abo
Copy link
Owner

abo-abo commented Oct 23, 2015

Good catch. Thanks a lot.

@rudolfochrist
Copy link
Contributor Author

That was fast. You're awesome. Thank you for fixing this. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants