What do you get if you execute: /usr/local/bin/bash ~mrh/bin/zim.sh
On 01/16/2016 03:52 PM, Mark Hughes (Zim mailing list) wrote:
I'm using zim 0.62 on debian and playing with custom commands. I can get some very simple things working, like "bash -c ls" but at this point I have a simple bash script which I can't get to run. The custom command is currently "/usr/local/bin/bash ~/bin/zim.sh" (which contains "echo blah"). I have "replaces selection" checked. When I execute it the command deletes the selection (ie no output) and as I'm using "zim -D" I see the following console output: INFO: Running: ['/usr/local/bin/bash', '~mrh/bin/zim.sh'] (cwd: None) WARNING: /usr/local/bin/bash: ~mrh/bin/zim.sh: No such file or directory If I execute "/usr/local/bin/bash ~/bin/zim.sh" in the console I get the expected output "blah". Any ideas? Thanks, Mark -- _______________________________________________ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp