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

Add support for counsel-locate over tramp #1735

Closed
wants to merge 1 commit into from

Conversation

jgkamat
Copy link
Contributor

@jgkamat jgkamat commented Aug 28, 2018

This allows counsel-locate to properly open files when in a tramp buffer, previously, it would open the remote file path on the local machine.

Is there a custom way of getting the default directory in ivy? ivy--directory appears to be nil in this function.

@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Sep 6, 2018

Thanks.

Is there a custom way of getting the default directory in ivy? ivy--directory appears to be nil in this function

It's not nil for file completion (e.g. counsel-find-file or find-file), which counsel-locate isn't.

@jgkamat jgkamat deleted the jay/counsel-locate-tramp branch Sep 6, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants