mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-24 01:37:27 +08:00
Compare commits
No commits in common. "49691b58b3c1fbe64b927ec88d5e9697f76e2a80" and "bb8a0aa2c1c54c3aeb3e703397ab050fd62e36e6" have entirely different histories.
49691b58b3
...
bb8a0aa2c1
@ -6,25 +6,22 @@ Adds integration with [asdf](https://github.com/asdf-vm/asdf), the extendable ve
|
|||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
1. [Download asdf](https://asdf-vm.com/guide/getting-started.html#_2-download-asdf) by running the following:
|
1. Enable the plugin by adding it to your `plugins` definition in `~/.zshrc`.
|
||||||
|
|
||||||
```
|
|
||||||
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
|
|
||||||
```
|
|
||||||
|
|
||||||
2. [Enable asdf](https://asdf-vm.com/guide/getting-started.html#_3-install-asdf) by adding it to your `plugins` definition in `~/.zshrc`.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
plugins=(asdf)
|
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
|
### Usage
|
||||||
|
|
||||||
See the [asdf documentation](https://asdf-vm.com/guide/getting-started.html#_4-install-a-plugin) for information on how to use asdf:
|
See the [asdf usage documentation](https://github.com/asdf-vm/asdf#usage) for information on how to use asdf:
|
||||||
|
|
||||||
```
|
```
|
||||||
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
|
asdf plugin-add nodejs git@github.com:asdf-vm/asdf-nodejs.git
|
||||||
asdf install nodejs latest
|
asdf install nodejs 5.9.1
|
||||||
asdf global nodejs latest
|
|
||||||
asdf local nodejs latest
|
|
||||||
```
|
```
|
||||||
|
|||||||
@ -12,7 +12,6 @@ autojump_paths=(
|
|||||||
/opt/local/etc/profile.d/autojump.sh # macOS with MacPorts
|
/opt/local/etc/profile.d/autojump.sh # macOS with MacPorts
|
||||||
/usr/local/etc/profile.d/autojump.sh # macOS with Homebrew (default)
|
/usr/local/etc/profile.d/autojump.sh # macOS with Homebrew (default)
|
||||||
/opt/homebrew/etc/profile.d/autojump.sh # macOS with Homebrew (default on M1 macs)
|
/opt/homebrew/etc/profile.d/autojump.sh # macOS with Homebrew (default on M1 macs)
|
||||||
/etc/profiles/per-user/$USER/bin/autojump # macOS Nix, Home Manager and flakes
|
|
||||||
)
|
)
|
||||||
|
|
||||||
for file in $autojump_paths; do
|
for file in $autojump_paths; do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user