heroku.plugin.zsh 344 B

123456789
  1. HEROKU_AC_CACHE_DIR="$HOME/.cache"
  2. if [ "$(uname -s)" = "Darwin" ]; then
  3. HEROKU_AC_CACHE_DIR="$HOME/Library/Caches"
  4. fi
  5. if [ ! -z "$XDG_CACHE_HOME" ]; then
  6. HEROKU_AC_CACHE_DIR="$XDG_CACHE_DIR"
  7. fi
  8. HEROKU_AC_ZSH_SETUP_PATH=$HEROKU_AC_CACHE_DIR/heroku/autocomplete/zsh_setup
  9. [ -f $HEROKU_AC_ZSH_SETUP_PATH ] && source $HEROKU_AC_ZSH_SETUP_PATH