added zsh support, removed zsh compability stuff from the faq and fro… (#12)

This commit is contained in:
Knox Lively
2024-02-21 19:43:37 -07:00
committed by GitHub
parent 1178516c53
commit 2855401ff0
3 changed files with 1 additions and 40 deletions
-1
View File
@@ -71,7 +71,6 @@
"reference/faq",
"reference/keyboard",
"reference/slashcommands",
"reference/zsh",
"reference/waveshell"
]
}
+1 -1
View File
@@ -12,7 +12,7 @@ Wave telemetry is very minimal, anonymized, completely optional, and you can opt
## What shells does Wave Terminal support?
We currently only support `bash`. 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`. See [Using Wave Terminal with zsh](https://docs.waveterm.dev/reference/zsh) for more information.
We currently support `bash` and `zsh`. Your environment (including variables, functions, and aliases) is read from the standard bash and zsh startup files (.bash_profile and .zshrc). In order to customize Wave's environment at startup Wave will set the environment variable `WAVESHELL`.
## How do I specify SSH options such as PubkeyAcceptedKeyTypes?
-38
View File
@@ -1,38 +0,0 @@
---
title: Using Wave Terminal with zsh
---
Wave Terminal currently only supports `bash`. 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.
<AccordionGroup>
<Accordion icon="scroll" title="Update .bashrc with codeedit">
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)
```
</Accordion>
<Accordion icon="rectangle-terminal" title="Update .bashrc at command line">
Run the following command in a terminal to update your .bashrc
```
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.bashrc
```
</Accordion>
</AccordionGroup>
<Tip>
Run brew command ```brew help shellenv``` for more information on managing brew setup.
</Tip>
## 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.