0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00
ohmyzsh/plugins/heroku/heroku.plugin.zsh

10 lines
259 B
Bash
Raw Permalink Normal View History

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