-
Notifications
You must be signed in to change notification settings - Fork 282
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
fpp doesn't pass path to command properly for paths in the top dir w/out ./ prefix #47
Comments
Experiencing the same. When the working directory is The command |
Yeah, we throw in the random Question for you @Haraldson / @Ramblurr -- are you guys working in folders with version control? We should parse the top-level directory from version control and use that for the prepend: https://github.com/facebook/PathPicker/blob/master/src/parse.py#L38-L66 in the meantime ill fallback to |
I guess the weird thing is that we will output paths with
@Haraldson / @Ramblurr its important to note though that the input you guys listed above is lacking some context on where the actual path is. with this change we'll assume |
In the 0.5.7 release, adding PR to homebrew now: |
The output of
ack -l
orgrep -l
that lists as demonstrated below is parsed properly by fpp (the interactive selection works), but when you execute a command on it (for example open the editor) it doesn't pass the proper path.In the case of the first file listed below, fpp passes the following to vim:
/home/user/www/system-images/android-22/default/x86_64
when the proper path is:
/home/user/**vendor/android/sdk/**system-images/android-22/default/x86_64/source.properties
The text was updated successfully, but these errors were encountered: