From aa72cd24d06160540c30b008b4bdb3440dbef2c3 Mon Sep 17 00:00:00 2001 From: "C.D. MacEachern" Date: Sat, 19 Nov 2022 11:44:28 -0500 Subject: [PATCH] Update macos docs with wezterm CLI installation (#2619) * Update macos docs with wezterm CLI installation wezterm binary is not by default available in shells like the default zsh or bash, on macos we need to explicitly add the path to the wezterm binaries inside the WezTerm.app * Update docs/install/macos.markdown Co-authored-by: Wez Furlong --- docs/install/macos.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/install/macos.markdown b/docs/install/macos.markdown index 73d72874f..edeeaf90b 100644 --- a/docs/install/macos.markdown +++ b/docs/install/macos.markdown @@ -14,7 +14,12 @@ with support for both Apple Silicon and Intel hardware. 3. First time around, you may need to right click and select `Open` to allow launching the application that your just downloaded from the internet. 3. Subsequently, a simple double-click will launch the UI -4. Configuration instructions can be [found here](../config/files.html) +4. To use wezterm binary from a terminal emulator, like `wezterm ls-fonts` you'll need to add the location to the wezterm binary folder that exists _inside_ the WezTerm.app, to your environment's $PATH value. For example, to add it to your `~/.zshrc` file, and assuming your WezTerm.app was installed to `/Applications`, add: +```sh +PATH="$PATH:/Applications/WezTerm.app/Contents/MacOS" +export PATH +``` +5. Configuration instructions can be [found here](../config/files.html) ## Homebrew @@ -45,3 +50,4 @@ WezTerm is also available via [MacPorts](https://ports.macports.org/port/wezterm $ sudo port selfupdate $ sudo port install wezterm ``` +