Personal dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

asdf in place of pyenv/rbenv + deno

+28 -14
+3 -1
fish/config.fish
··· 15 15 addpath "$HOME/.cabal/bin" 16 16 addpath "$HOME/.ghcup/bin" 17 17 addpath "$HOME/.rbenv/bin" 18 + addpath "$HOME/.gem/bin" 18 19 addpath "$HOME/.pyenv/bin" 19 20 addpath "$HOME/.pyenv/shims" 20 - addpath "$HOME/.gem/bin" 21 + addpath "$HOME/.asdf/bin" 22 + addpath "$HOME/.asdf/shims" 21 23 22 24 if test -x /opt/homebrew/bin/brew 23 25 eval (/opt/homebrew/bin/brew shellenv)
+4
install/asdf
··· 1 + #!/bin/bash 2 + set -e 3 + cd $(dirname $0) 4 + git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.2
+7
install/deno
··· 1 + #!/bin/bash 2 + set -e 3 + check asdf || ./asdf 4 + asdf plugin-add deno 5 + latest=$(asdf list all deno | grep '^ *[0-9.]*$' | tail -n 1 | sed 's/ *//') 6 + asdf install deno "$latest" 7 + asdf global "$latest"
+2
install/for-linux
··· 1 1 #!/bin/bash 2 2 cd $(dirname $0) 3 + ./asdf 3 4 ./broot 5 + ./deno 4 6 ./exa 5 7 ./fd 6 8 ./fnm
+2
install/for-mac
··· 1 1 #!/bin/bash 2 2 cd $(dirname $0) 3 + ./asdf 3 4 ./brew 4 5 ./broot 6 + ./deno 5 7 ./exa 6 8 ./fd 7 9 ./fish
+5 -8
install/python
··· 1 1 #!/bin/bash 2 2 set -e 3 - if [ ! -d "$HOME/.pyenv" ]; then 4 - curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash 5 - PATH="$PATH:$HOME/.pyenv/bin" 6 - fi 7 - pyenv update 8 - latest=$(pyenv install --list | grep '^ *[0-9.]*$' | tail -n 1 | sed 's/ *//') 9 - pyenv install -s "$latest" 10 - pyenv global "$latest" 3 + check asdf || ./asdf 4 + asdf plugin-add python 5 + latest=$(asdf list all python | grep '^ *[0-9.]*$' | tail -n 1 | sed 's/ *//') 6 + asdf install python "$latest" 7 + asdf global "$latest"
+5 -5
install/ruby
··· 1 1 #!/bin/bash 2 2 set -e 3 - curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash 4 - export PATH="$PATH:$HOME/.rbenv/bin" 5 - latest=$(rbenv install -L | grep '^[0-9.]*$' | tail -n 1) 6 - rbenv install -s "$latest" 7 - rbenv global "$latest" 3 + check asdf || ./asdf 4 + asdf plugin-add ruby 5 + latest=$(asdf list all ruby | grep '^ *[0-9.]*$' | tail -n 1 | sed 's/ *//') 6 + asdf install ruby "$latest" 7 + asdf global "$latest"