diff --git a/base/.config/bash/bashrc.d/jetbrains.sh b/base/.config/bash/bashrc.d/jetbrains.sh new file mode 100644 index 0000000..35b7281 --- /dev/null +++ b/base/.config/bash/bashrc.d/jetbrains.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +#ft=bash + +if [[ -d "${XDG_DATA_HOME}/JetBrains/Toolbox/scripts" ]]; then + if [[ ":${PATH}:" != *":${XDG_DATA_HOME}/JetBrains/Toolbox/scripts:"* ]]; then + export PATH="${PATH}:${XDG_DATA_HOME}/JetBrains/Toolbox/scripts" + fi +fi