chezmoi init
This commit is contained in:
commit
530d6d7195
1176 changed files with 111325 additions and 0 deletions
9
dot_oh-my-zsh/plugins/heroku/README.md
Normal file
9
dot_oh-my-zsh/plugins/heroku/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Heroku
|
||||
|
||||
This plugin provides completion for the [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli).
|
||||
|
||||
To use it add heroku to the plugins array in your zshrc file:
|
||||
|
||||
```bash
|
||||
plugins=(... heroku)
|
||||
```
|
9
dot_oh-my-zsh/plugins/heroku/heroku.plugin.zsh
Normal file
9
dot_oh-my-zsh/plugins/heroku/heroku.plugin.zsh
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue