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

term-dmenu evaluates output #2

Open
calbrecht opened this issue May 5, 2022 · 2 comments
Open

term-dmenu evaluates output #2

calbrecht opened this issue May 5, 2022 · 2 comments

Comments

@calbrecht
Copy link

calbrecht commented May 5, 2022

This is a stripped down version with abduco and stderr redirects removed, but basically the same as term-dmenu.

export input='$(echo hi, i get evaluated)'; dash -c 'output=$(echo "$input" | fzf); export output; dash -c "echo \"$output\""'

I noticed this behaviour when using rg output as input to fzf in term-dmenu.

@calbrecht calbrecht changed the title term-dmenu evaluates input term-dmenu evaluates output May 8, 2022
@RayZ0rr
Copy link

RayZ0rr commented May 16, 2022

Yes, I was looking for this fix. It would also be cool to make j4-dmenu-desktop optional in the sense that it'll be used if it exists.

@RayZ0rr
Copy link

RayZ0rr commented May 16, 2022

@calbrecht Would it also be possible to use bash instead of dash? Bash is in pretty much all systems I use so if possible I would like to avoid installing dash.

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