docs: remove $ from shell scripts for easy copy&paste

This commit is contained in:
Martin von Zweigbergk 2022-02-27 14:00:46 -08:00 committed by Martin von Zweigbergk
parent c59dcd76a4
commit 70811669fc

View file

@ -126,22 +126,22 @@ scripts if requested.
## Installation ## Installation
If you're on Mac, you may need to run some or all of these: If you're on Mac, you may need to run some or all of these:
``` ```shell script
$ xcode-select --install xcode-select --install
$ brew install openssl brew install openssl
$ brew install pkg-config brew install pkg-config
$ export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig" export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"
``` ```
Now run this (regardless of platform): Now run this (regardless of platform):
```shell script ```shell script
$ cargo install --git https://github.com/martinvonz/jj.git cargo install --git https://github.com/martinvonz/jj.git
``` ```
To set up command-line completion, source the output of To set up command-line completion, source the output of
`jj debug completion --bash/--zsh/--fish`. For example, if you use Bash: `jj debug completion --bash/--zsh/--fish`. For example, if you use Bash:
```shell script ```shell script
$ source <(jj debug completion) # --bash is the default source <(jj debug completion) # --bash is the default
``` ```
You may also want to configure your name and email so commits are made in your You may also want to configure your name and email so commits are made in your