diff --git a/README.md b/README.md index 66bd537..6e47a2c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@
-# asdf-exa ![Build](https://github.com/nyrst/asdf-exa/workflows/Build/badge.svg) ![Lint](https://github.com/nyrst/asdf-exa/workflows/Lint/badge.svg) +# asdf-eza ![Build](https://github.com/jc00ke/asdf-eza/workflows/Build/badge.svg) ![Lint](https://github.com/jc00ke/asdf-eza/workflows/Lint/badge.svg) -[exa](https://the.exa.website/) plugin for the [asdf version manager](https://asdf-vm.com). +[eza](https://github.com/eza-community/eza) plugin for the [asdf version manager](https://asdf-vm.com).
@@ -22,25 +22,25 @@ Plugin: ```shell -asdf plugin add exa +asdf plugin add eza # or -asdf plugin add exa https://github.com/nyrst/asdf-exa.git +asdf plugin add eza https://github.com/jc00ke/asdf-eza.git ``` -exa: +eza: ```shell # Show all installable versions -asdf list-all exa +asdf list-all eza # Install specific version -asdf install exa latest +asdf install eza latest # Set a version globally (on your ~/.tool-versions file) -asdf global exa latest +asdf global eza latest -# Now exa commands are available -exa --version +# Now eza commands are available +eza --version ``` Check [asdf](https://github.com/asdf-vm/asdf) readme for more instructions on how to @@ -50,7 +50,7 @@ install & manage versions. Contributions of any kind welcome! See the [contributing guide](contributing.md). -[Thanks goes to these contributors](https://github.com/nyrst/asdf-exa/graphs/contributors)! +[Thanks goes to these contributors](https://github.com/jc00ke/asdf-eza/graphs/contributors)! # License diff --git a/contributing.md b/contributing.md index c0fa067..ea2a904 100644 --- a/contributing.md +++ b/contributing.md @@ -6,7 +6,7 @@ Testing Locally: asdf plugin test [--asdf-tool-version ] [--asdf-plugin-gitref ] [test-command*] # -asdf plugin test exa https://github.com/nyrst/asdf-exa.git "exa --version" +asdf plugin test eza https://github.com/jc00ke/asdf-eza.git "eza --version" ``` Tests are automatically run in GitHub Actions on push and PR. diff --git a/lib/utils.bash b/lib/utils.bash index 07ffba7..ab07324 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -2,9 +2,9 @@ set -euo pipefail -GH_REPO="https://github.com/ogham/exa" -TOOL_NAME="exa" -TOOL_TEST="exa --version" +GH_REPO="https://github.com/eza-community/eza" +TOOL_NAME="eza" +TOOL_TEST="eza --version" fail() { echo -e "asdf-$TOOL_NAME: $*" @@ -51,7 +51,7 @@ download_release() { *) fail "Unsupported architecture" ;; esac - url="$GH_REPO/releases/download/v${version}/exa-${platform}-${architecture}-v${version}.zip" + url="$GH_REPO/releases/download/v${version}/eza-${platform}-${architecture}-v${version}.zip" echo "* Downloading $TOOL_NAME release $version..." curl "${curl_opts[@]}" -o "$filename" -C - "$url" || fail "Could not download $url"