mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-18 00:56:45 +08:00
use official heroku autocomplete (#6919)
This commit is contained in:
1 parent
850975eb78
commit
0cc371181a
2 files changed
+9
-199
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user