diff --git a/README.md b/README.md index 7143564..a5fc3c4 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,6 @@ - **GNU** `stow` - `zsh` (I mean, duh) -## Optional - -- `unzip` (for `fnm`) - ## Installation 1. clone this repo to your `$HOME` and switch to cloned dir: diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 227fb64..c49d693 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -39,26 +39,12 @@ zinit for \ lbin'!' \ @ajeetdsouza/zoxide -# pick the correct fnm release asset for this OS/arch -if [[ "$OSTYPE" == darwin* ]]; then - _fnm_asset='fnm-macos.zip' -elif [[ "$(uname -m)" == (aarch64|arm64) ]]; then - _fnm_asset='fnm-arm64.zip' -else - _fnm_asset='fnm-linux.zip' -fi + zinit for \ id-as \ from'gh-r' \ - bpick"$_fnm_asset" \ - atclone' - ./fnm env --use-on-cd --shell zsh > init.zsh; \ - ./fnm completions --shell zsh > _fnm; - ' \ - atpull'%atclone' \ - blockf \ - sbin'fnm' \ - @Schniz/fnm + sbin'pnpm' \ + @pnpm/pnpm zinit for \ id-as \