Skip to content

Instantly share code, notes, and snippets.

View ZaLiTHkA's full-sized avatar

Andre Greeff ZaLiTHkA

  • KZN, South Africa
View GitHub Profile
@ZaLiTHkA
ZaLiTHkA / jb_wrapper_fix.sh
Last active September 4, 2025 06:37
this file should be "sourced" into your current environment through something like `~/.bashrc` or `~/.zshrc`. then this Bash function must be run manually whenever JetBrains Toolbox updates an IDE.
# custom workaround for https://youtrack.jetbrains.com/issue/TBX-4599
source_path="$HOME/.local/share/JetBrains/Toolbox/scripts"
custom_path="$HOME/.local/share/JetBrains/Toolbox/scripts-alt"
export PATH="$PATH:$custom_path"
function jb_wrapper_fix {
if [[ ! "${PATH//:/ }" =~ "$custom_path" ]]; then
echo "NOTE: custom launcher scripts folder is not currently in PATH.."
fi