From d8d44c05b4c77b7d58d48790139ae0b358be3a3d Mon Sep 17 00:00:00 2001 From: "John F. Mercer" Date: Wed, 21 Feb 2024 10:44:04 -0500 Subject: [PATCH] Add PyCharm script --- bin/pycharm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/pycharm diff --git a/bin/pycharm b/bin/pycharm new file mode 100755 index 0000000..4c9da41 --- /dev/null +++ b/bin/pycharm @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +if [ -d "$HOME/Applications/PyCharm.app" ]; then + open -na "$HOME/Applications/PyCharm.app" --args "$@" +elif [ -d "/Applications/PyCharm.app" ]; then + open -na "/Applications/PyCharm.app" --args "$@" +else + echo "PyCharm cannot be found." +fi