mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
use official heroku autocomplete (#6919)
This commit is contained in:
parent
850975eb78
commit
0cc371181a
2 changed files with 9 additions and 199 deletions
9
plugins/heroku/heroku.plugin.zsh
Normal file
9
plugins/heroku/heroku.plugin.zsh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
HEROKU_AC_CACHE_DIR="$HOME/.cache"
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
HEROKU_AC_CACHE_DIR="$HOME/Library/Caches"
|
||||
fi
|
||||
if [ ! -z "$XDG_CACHE_HOME" ]; then
|
||||
HEROKU_AC_CACHE_DIR="$XDG_CACHE_DIR"
|
||||
fi
|
||||
HEROKU_AC_ZSH_SETUP_PATH=$HEROKU_AC_CACHE_DIR/heroku/autocomplete/zsh_setup
|
||||
[ -f $HEROKU_AC_ZSH_SETUP_PATH ] && source $HEROKU_AC_ZSH_SETUP_PATH
|
||||
Loading…
Add table
Add a link
Reference in a new issue