Skip to content

Commit 48b0ec4

Browse files
committed
Use bash instead of sh
We are relying on some bash-specific substitutions that I can't get rid off quickly and safely.
1 parent 7b4ae58 commit 48b0ec4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ Relevant results are displayed first based on current directory, git repo, and e
2727
Install RESH with one command:
2828

2929
```sh
30-
curl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | sh
30+
curl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | bash
3131
```
3232

33-
ℹ️ You will need to have `curl` and `tar` installed.
33+
ℹ️ You will need to have `bash`, `curl`, and `tar` installed.
3434

3535
More options on [Installation page ⇗](./installation.md)
3636

installation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
Feel free to check the `rawinstall.sh` script before running it.
66

77
```sh
8-
curl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | sh
8+
curl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawinstall.sh | bash
99
```
1010

11-
ℹ️ You will need to have `curl` and `tar` installed.
11+
ℹ️ You will need to have `bash`, `curl`, and `tar` installed.
1212

1313
## Clone & install
1414

scripts/rawinstall.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -eu
3+
set -euo pipefail
44

55
echo
66
echo "Please report any issues you encounter to: https://github.com/curusarn/resh/issues"

0 commit comments

Comments
 (0)