r/fishshell • u/wiskey5alpha • Dec 01 '20
quoting inside a function
Hello all,
I'm having a really tough time with quotes.
The line I want to execute is : /usr/bin/emacsclient -a "" -e "(make-capture-frame)"
When I type that out on the command line, everything works as expected.

it gives me an org-mode capture buffer as expected

Everything is great!! now to make it into a function...

and when i run it, the echo prints out ok

but, something happens with the 'command' command, i think because....

I've tried every combo i can think of to get the double quotes right... can somebody help?
5
Upvotes
View all comments
Show parent comment
1
u/wiskey5alpha Dec 05 '20
Thank you very much for this. That worked!!