From baf94d1f0b60bcc7447a4850b83ff6230642a0ef Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Fri, 9 Apr 2021 00:04:49 +0530 Subject: [PATCH] Update README --- Cargo.toml | 1 + README.md | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c9d655b..fe68fbf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,7 @@ default = [] # - bash # - black: # - dash +# - elvish: # - fish: # - mypy: # - nushell: diff --git a/README.md b/README.md index cce127c..b83b854 100644 --- a/README.md +++ b/README.md @@ -112,15 +112,23 @@ zoxide import --from autojump /path/to/db #### bash -Add the following line to your `~/.bashrc`: +Add the following line to your configuration file (usually `~/.bashrc`): ```sh eval "$(zoxide init bash)" ``` +#### elvish + +Add the following line to your configuration file (usually `~/.elvish/rc.elv`): + +```sh +eval $(zoxide init elvish | slurp) +``` + #### 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 zoxide init fish | source @@ -154,7 +162,7 @@ Invoke-Expression (& { #### xonsh -Add the following line to your profile (usually `~/.xonshrc`): +Add the following line to your configuration file (usually `~/.xonshrc`): ```python execx($(zoxide init xonsh), 'exec', __xonsh__.ctx, filename='zoxide') @@ -162,7 +170,7 @@ execx($(zoxide init xonsh), 'exec', __xonsh__.ctx, filename='zoxide') #### zsh -Add the following line to your `~/.zshrc`: +Add the following line to your configuration file (usually `~/.zshrc`): ```sh eval "$(zoxide init zsh)" @@ -170,7 +178,7 @@ eval "$(zoxide init zsh)" #### Any POSIX shell -Add the following line to your shell's configuration file: +Add the following line to your configuration file: ```sh eval "$(zoxide init posix --hook prompt)"