From 3590fda69a9fc630dddf867f98f1df31b04339ac Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Thu, 2 Mar 2023 12:41:47 -0800 Subject: [PATCH] Add JetBrains scripts to path --- base/.config/bash/bashrc.d/jetbrains.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 base/.config/bash/bashrc.d/jetbrains.sh 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