Update README
This commit is contained in:
parent
8452961904
commit
baf94d1f0b
|
|
@ -36,6 +36,7 @@ default = []
|
||||||
# - bash
|
# - bash
|
||||||
# - black: <https://github.com/psf/black>
|
# - black: <https://github.com/psf/black>
|
||||||
# - dash
|
# - dash
|
||||||
|
# - elvish: <https://github.com/elves/elvish>
|
||||||
# - fish: <https://github.com/fish-shell/fish-shell>
|
# - fish: <https://github.com/fish-shell/fish-shell>
|
||||||
# - mypy: <https://github.com/python/mypy>
|
# - mypy: <https://github.com/python/mypy>
|
||||||
# - nushell: <https://github.com/nushell/nushell>
|
# - nushell: <https://github.com/nushell/nushell>
|
||||||
|
|
|
||||||
18
README.md
18
README.md
|
|
@ -112,15 +112,23 @@ zoxide import --from autojump /path/to/db
|
||||||
|
|
||||||
#### bash
|
#### bash
|
||||||
|
|
||||||
Add the following line to your `~/.bashrc`:
|
Add the following line to your configuration file (usually `~/.bashrc`):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
eval "$(zoxide init bash)"
|
eval "$(zoxide init bash)"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### elvish
|
||||||
|
|
||||||
|
Add the following line to your configuration file (usually `~/.elvish/rc.elv`):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
eval $(zoxide init elvish | slurp)
|
||||||
|
```
|
||||||
|
|
||||||
#### fish
|
#### fish
|
||||||
|
|
||||||
Add the following line to your `~/.config/fish/config.fish`:
|
Add the following line to your configuration file (usually `~/.config/fish/config.fish`):
|
||||||
|
|
||||||
```fish
|
```fish
|
||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
|
|
@ -154,7 +162,7 @@ Invoke-Expression (& {
|
||||||
|
|
||||||
#### xonsh
|
#### xonsh
|
||||||
|
|
||||||
Add the following line to your profile (usually `~/.xonshrc`):
|
Add the following line to your configuration file (usually `~/.xonshrc`):
|
||||||
|
|
||||||
```python
|
```python
|
||||||
execx($(zoxide init xonsh), 'exec', __xonsh__.ctx, filename='zoxide')
|
execx($(zoxide init xonsh), 'exec', __xonsh__.ctx, filename='zoxide')
|
||||||
|
|
@ -162,7 +170,7 @@ execx($(zoxide init xonsh), 'exec', __xonsh__.ctx, filename='zoxide')
|
||||||
|
|
||||||
#### zsh
|
#### zsh
|
||||||
|
|
||||||
Add the following line to your `~/.zshrc`:
|
Add the following line to your configuration file (usually `~/.zshrc`):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
|
|
@ -170,7 +178,7 @@ eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
#### Any POSIX shell
|
#### Any POSIX shell
|
||||||
|
|
||||||
Add the following line to your shell's configuration file:
|
Add the following line to your configuration file:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
eval "$(zoxide init posix --hook prompt)"
|
eval "$(zoxide init posix --hook prompt)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue