diff options
author | Marvin Borner | 2020-03-16 23:33:42 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-16 23:33:42 +0100 |
commit | 0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch) | |
tree | 719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.oh-my-zsh/plugins/asdf | |
parent | e5d38956336ab1be954bdbd12808c5f98f8bd925 (diff) |
Well I'm using Arch again
Diffstat (limited to '.oh-my-zsh/plugins/asdf')
-rw-r--r-- | .oh-my-zsh/plugins/asdf/README.md | 27 | ||||
-rw-r--r-- | .oh-my-zsh/plugins/asdf/asdf.plugin.zsh | 19 |
2 files changed, 0 insertions, 46 deletions
diff --git a/.oh-my-zsh/plugins/asdf/README.md b/.oh-my-zsh/plugins/asdf/README.md deleted file mode 100644 index e8aa976..0000000 --- a/.oh-my-zsh/plugins/asdf/README.md +++ /dev/null @@ -1,27 +0,0 @@ -## asdf - -**Maintainer:** [@RobLoach](https://github.com/RobLoach) - -Adds integration with [asdf](https://github.com/asdf-vm/asdf), the extendable version manager, with support for Ruby, Node.js, Elixir, Erlang and more. - -### Installation - -1. Enable the plugin by adding it to your `plugins` definition in `~/.zshrc`. - - ``` - plugins=(asdf) - ``` - -2. [Install asdf](https://github.com/asdf-vm/asdf#setup) by running the following: - ``` - git clone https://github.com/asdf-vm/asdf.git ~/.asdf - ``` - -### Usage - -See the [asdf usage documentation](https://github.com/asdf-vm/asdf#usage) for information on how to use asdf: - -``` -asdf plugin-add nodejs git@github.com:asdf-vm/asdf-nodejs.git -asdf install nodejs 5.9.1 -``` diff --git a/.oh-my-zsh/plugins/asdf/asdf.plugin.zsh b/.oh-my-zsh/plugins/asdf/asdf.plugin.zsh deleted file mode 100644 index 38b2255..0000000 --- a/.oh-my-zsh/plugins/asdf/asdf.plugin.zsh +++ /dev/null @@ -1,19 +0,0 @@ -# Find where asdf should be installed -ASDF_DIR="${ASDF_DIR:-$HOME/.asdf}" -ASDF_COMPLETIONS="$ASDF_DIR/completions" - -# If not found, check for Homebrew package -if [[ ! -f "$ASDF_DIR/asdf.sh" ]] && (( $+commands[brew] )); then - ASDF_DIR="$(brew --prefix asdf)" - ASDF_COMPLETIONS="$ASDF_DIR/etc/bash_completion.d" -fi - -# Load command -if [[ -f "$ASDF_DIR/asdf.sh" ]]; then - . "$ASDF_DIR/asdf.sh" - - # Load completions - if [[ -f "$ASDF_COMPLETIONS/asdf.bash" ]]; then - . "$ASDF_COMPLETIONS/asdf.bash" - fi -fi |