heroku.plugin.zsh 259 B

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