dotfiles/dot_oh-my-zsh/plugins/heroku/heroku.plugin.zsh
2023-01-30 14:28:59 +01:00

9 lines
259 B
Bash

if [[ "$OSTYPE" = darwin* ]]; then
cache_dir="${HOME}/Library/Caches"
else
cache_dir="${XDG_CACHE_HOME:-"${HOME}/.cache"}"
fi
setup_path="${cache_dir}/heroku/autocomplete/zsh_setup"
[[ -f "$setup_path" ]] && source $setup_path
unset cache_dir setup_path