heroku.plugin.zsh
259 bytes
1if [[ "$OSTYPE" = darwin* ]]; then
2 cache_dir="${HOME}/Library/Caches"
3else
4 cache_dir="${XDG_CACHE_HOME:-"${HOME}/.cache"}"
5fi
6
7setup_path="${cache_dir}/heroku/autocomplete/zsh_setup"
8[[ -f "$setup_path" ]] && source $setup_path
9unset cache_dir setup_path