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
Output is usually empty #741
Comments
Hey @matildeopbravo, I'm sorry you experienced this problem! Espanso might be having some problems executing the script. Could you please try to:
- trigger: ":nif"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: "grep NIF $HOME/documents | cut -d ':' -f2 | tee >(xclip)"
debug: true
You should be able to see if any error occurs from the logs, as espanso now reports the exit code, stderr and stdout of the process. Let me know if that helps Cheers :) |
|
@matildeopbravo Interesting, thank you. The script seems to be working correctly, but I suspect the call to Cheers :) |
Hey, |
I have this in my config and whenever I triggered it , it's supposed to replace the trigger by a number and copy to my clipboard as well. The clipboard seems to be working but replacing the text usually doesn't.
The text was updated successfully, but these errors were encountered: