- 打开
自动操作
App - 选择
快速操作
image.png - 选择
运行shell脚本
-
工作流收到当前
选择文件或文件夹
-
传输输入
选择作为自变量
- Shell根据自己需求选择,可选择
/bin/.zsh
- 脚本填写,我加了.zhsrc配置文件,如果没有这个可去掉第一句
source ~/.zshrc
/Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea "$@"
-
⌘ + S 保存
image.png -
执行方法,右键文件或文件夹
image.png