in .bash_profile
have
_func () { ... ${1} ${2} } alias func="_func"
and able call func
(or _func
) in jetbrains ide "external tool" (by specifying either "program"). when get
cannot run program "func"
is there way run shell alias or function jetbrains ide "external tool"?
i know there a plugin limited support similar, not support ide "macro" variables, "external tools" do.
the command use must have underlying executable. in case /bin/bash
or similar, bash aliases available in scope of bash shell.
as better solution write short bash script , call instead.
if insist on using alias, it:
bash -l -c func
Comments
Post a Comment