feat: move configuration files inside home folder
This commit is contained in:
9
home/.config/zsh/ohmyzsh/plugins/heroku/README.md
Normal file
9
home/.config/zsh/ohmyzsh/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)
|
||||
```
|
@ -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
|
Reference in New Issue
Block a user