There is a function inside Zim Desktop Wiki program for run a commandline command but I'm getting error.
For paste a date, it works. (My command is: date "+Date: %d %b %Y - %H:%M:%S" )
But when I want to run an alias (For example: zim_up alias for this command: cd ~/Google && grive) it doesn't work.. I'm getting error as "No such file or directory".. (I just want to update my notes with this alias and it's important for me.)
Can anyone help please?
1 Answer
It probably uses /bin/sh to launch the command, not your shell. If you need to use an alias, try
bash -lic zim_upI'm assuming your shell is bash.
-luse a login shell so your .bash_profile is sourced-iforce the shell to be interactive so aliases are activated-c zim_uprun your alias