mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 18:27:38 +00:00
docs: remove $
from shell scripts for easy copy&paste
This commit is contained in:
parent
c59dcd76a4
commit
70811669fc
1 changed files with 11 additions and 11 deletions
14
README.md
14
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue