diff --git a/HOWTO:-set-environment-variables.md b/HOWTO:-set-environment-variables.md index f76d07c..4a560de 100644 --- a/HOWTO:-set-environment-variables.md +++ b/HOWTO:-set-environment-variables.md @@ -1,7 +1,9 @@ The way you set environment variables is dependent on your shell. Assuming you want to set the `_ZO_ECHO` variable to `1`:
-Bash +Bash + +
Add this to your configuration (usually `~/.bashrc`): @@ -9,10 +11,13 @@ Add this to your configuration (usually `~/.bashrc`): export _ZO_ECHO='1' ``` +
-Elvish +Elvish + +
Add this to your configuration (usually `~/.elvish/rc.elv`): @@ -20,10 +25,13 @@ Add this to your configuration (usually `~/.elvish/rc.elv`): set E:_ZO_ECHO = '1' ``` +
-Fish +Fish + +
Add this to your configuration (usually `~/.config/fish/config.fish`): @@ -31,10 +39,13 @@ Add this to your configuration (usually `~/.config/fish/config.fish`): set -x _ZO_ECHO '1' ``` +
-Nushell +Nushell + +
Add this to your configuration (find it by running `config path` in Nushell): @@ -43,10 +54,13 @@ Add this to your configuration (find it by running `config path` in Nushell): _ZO_ECHO = "1" ``` +
-PowerShell +PowerShell + +
Add this to your configuration (find it by running `echo $profile` in PowerShell): @@ -55,10 +69,13 @@ PowerShell): $env:_ZO_ECHO = '1' ``` +
-Xonsh +Xonsh + +
Add this to your configuration (usually `~/.xonshrc`): @@ -66,10 +83,13 @@ Add this to your configuration (usually `~/.xonshrc`): $_ZO_ECHO = '1' ``` +
-Zsh +Zsh + +
Add this to your configuration (usually `~/.zshrc`): @@ -77,10 +97,13 @@ Add this to your configuration (usually `~/.zshrc`): export _ZO_ECHO='1' ``` +
-Any POSIX shell +Any POSIX shell + +
Add this to your configuration: @@ -88,6 +111,8 @@ Add this to your configuration: export _ZO_ECHO='1' ``` +
-Note that these must be set before calling `zoxide init`. The full list of variables can be found [here](https://github.com/ajeetdsouza/zoxide#environment-variables). \ No newline at end of file +> [!NOTE] +> These must be set before calling `zoxide init`. The full list of variables can be found [here](https://github.com/ajeetdsouza/zoxide#environment-variables). \ No newline at end of file