docs: Update zh-hans instructions for elvish v0.18.0 (#1274)

This commit is contained in:
Elijah 2022-06-25 23:01:52 -05:00 committed by GitHub
parent 72c3a2377a
commit 9dc61a5263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -153,7 +153,7 @@ source /opt/asdf-vm/asdf.fish
```shell:no-line-numbers
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
echo "\n"'edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv
echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv
```
补全功能将会自动配置。
@ -167,7 +167,7 @@ echo "\n"'edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.con
```shell:no-line-numbers
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
echo "\n"'edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv
echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv
```
补全功能将会自动配置。
@ -181,7 +181,7 @@ echo "\n"'edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.con
```shell:no-line-numbers
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
echo "\n"'edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv
echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv
```
补全功能将会自动配置。

View File

@ -263,7 +263,7 @@ rm -rf $HOME/.tool-versions $HOME/.asdfrc
```shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
edit:completion:arg-completer[asdf] = $_asdf:arg-completer~
set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~
```
以及使用以下命令卸载 `asdf` 模块:
@ -292,7 +292,7 @@ rm -rf $HOME/.tool-versions $HOME/.asdfrc
```shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
edit:completion:arg-completer[asdf] = $_asdf:arg-completer~
set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~
```
以及使用以下命令卸载 `asdf` 模块:
@ -321,7 +321,7 @@ rm -rf $HOME/.tool-versions $HOME/.asdfrc
```shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
edit:completion:arg-completer[asdf] = $_asdf:arg-completer~
set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~
```
以及使用以下命令卸载 `asdf` 模块: