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

Remove subshell #74

Closed
wants to merge 1 commit into from
Closed

Remove subshell #74

wants to merge 1 commit into from

Conversation

Glandos
Copy link
Contributor

@Glandos Glandos commented Nov 21, 2020

fzf supports field index expression, that trims the value by default, so a subshell is not needed.

It also has the advantage not to rely on shell syntax, because since $SHELL variable is not set, fzf use the user shell to execute the preview, and it can have wrong result. I was impacted as a fish user.

fzf supports field index expression, that trims the value by default, so a subshell is not needed.

It also has the advantage not to rely on shell syntax, because since `$SHELL` variable is not set, `fzf` use the user shell to execute the preview, and it can have wrong result. I was impacted as a fish user.
@woefe
Copy link
Owner

woefe commented Nov 23, 2020

I've also replaced pipes with fzf's index expressions and merged / squashed those changes in fff04a8

@woefe woefe closed this Nov 23, 2020
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