Skip to content

Commit

Permalink
Use asdf-partial as a workaround for fuzzy match
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriangalliat committed Jun 11, 2022
1 parent c29f11f commit a82ee7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion asdf/tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nodejs 18.1.0
nodejs 18.3.0
elixir 1.12.3-otp-24
erlang 24.0.5
ruby 3.0.2
4 changes: 2 additions & 2 deletions zsh/asdf.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# asdf hack to make it faster for the global path
asdf() {
[ -d ~/.asdf ] || git clone https://github.com/asdf-vm/asdf ~/.asdf
[ -d ~/.asdf/asdf-use ] || git clone https://github.com/valeriangalliat/asdf-use ~/.asdf/asdf-use
[ -d ~/.asdf/asdf-partial ] || git clone https://github.com/valeriangalliat/asdf-partial ~/.asdf/asdf-partial
. ~/.asdf/asdf.sh
. ~/.asdf/asdf-use/asdf-use.sh
export PATH=~/projects/asdf-partial:$PATH

if [ "$#" -gt 0 ]; then
asdf "$@"
Expand Down

0 comments on commit a82ee7f

Please sign in to comment.