From e89f93f2423b3bb00324cebf0aaa2cd1767af1db Mon Sep 17 00:00:00 2001 From: Tracy Miranda Date: Mon, 18 Dec 2023 16:22:37 -0500 Subject: [PATCH] Add separate zsh page --- reference/zsh.mdx | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 reference/zsh.mdx diff --git a/reference/zsh.mdx b/reference/zsh.mdx new file mode 100644 index 0000000..5527ef9 --- /dev/null +++ b/reference/zsh.mdx @@ -0,0 +1,40 @@ +--- +title: Using Wave Terminal with zsh +--- + +## Where is my data stored? + +Your environment (including variables, functions, and aliases) is read from the standard bash startup files (.bash_profile). + +> In order to customize Wave's environment at startup Wave will set the environment variable `WAVESHELL`. If you are currently using `zsh`, you might have to transfer some of your `.zprofile` setup into your `.bash_profile have Wave pick up your path and other environment settings. Note that supporting zsh is high on our technical roadmap and we expect to have have at least partial (if not full) zsh support in the next couple of months. + +## How do I get brew commands to work? + +If using brew, get brew commands to work by running the `brew shellenv` command in a Wave Terminal tab session. This will update the current tab session. To update all sessions in Wave Terminal, add the `shellenv` command to your .bashrc file. See below for further instructions. + + + + Use codeedit inside Wave Terminal to modify your bashrc e.g. + ``` + /codeedit .bashrc + ``` + copy and paste this into your ./bashrc then save the file. + ``` + eval "$(/opt/homebrew/bin/brew shellenv) + ``` + + + Run the following command in a terminal to update your .bashrc + ``` + echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.bashrc + ``` + + + + + Run brew command ```brew help shellenv``` for more information on managing brew setup. + + +## How do I get nvim to work in Wave Terminal? + +Any applications installed with brew will likely need a PATH update, see the previous FAQ for further details on how to do this. \ No newline at end of file