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
If you're on Mac, you may need to run some or all of these:
```
$ xcode-select --install
$ brew install openssl
$ brew install pkg-config
$ export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"
```shell script
xcode-select --install
brew install openssl
brew install pkg-config
export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"
```
Now run this (regardless of platform):
```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
`jj debug completion --bash/--zsh/--fish`. For example, if you use Bash:
```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