Skip to content

Commit ad8e879

Browse files
committed
Use a more common code block type
1 parent 9895676 commit ad8e879

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ etc), you already have a recent version of Emacs installed, as well as `git` & `
3939
can skip the whole manual and just type in your favorite shell the
4040
following command:
4141

42-
```shellsession
42+
```shell
4343
curl -L https://git.io/epre | sh
4444
```
4545

@@ -49,13 +49,13 @@ There are two environment variables you can use to control the
4949
source repository and the installation directory. To change the
5050
installation directory:
5151

52-
```shellsession
52+
```shell
5353
export PRELUDE_INSTALL_DIR="$HOME/.emacs.d" && curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
5454
```
5555

5656
To change the source repository:
5757

58-
```shellsession
58+
```shell
5959
export PRELUDE_URL="https://github.com/yourname/prelude.git" && curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
6060
```
6161

@@ -73,7 +73,7 @@ that ship with Prelude are **not** loaded.
7373
If you're using Emacs 29+ there's a simple way to try Prelude (or any other Emacs distro for that matter).
7474
Just clone Prelude's repo somewhere and do the following:
7575

76-
```shellsession
76+
```shell
7777
emacs --init-dir ~/path/to/prelude
7878
```
7979

docs/installation.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ and if you have a `.emacs.d` folder, it will be backed up as
4545

4646
If you're using `curl` type the following command:
4747

48-
```shellsession
48+
```shell
4949
curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
5050
```
5151

5252
#### Via Wget
5353

5454
If you're using `wget` type:
5555

56-
```shellsession
56+
```shell
5757
wget --no-check-certificate https://github.com/bbatsov/prelude/raw/master/utils/installer.sh -O - | sh
5858
```
5959

@@ -62,7 +62,7 @@ wget --no-check-certificate https://github.com/bbatsov/prelude/raw/master/utils/
6262
Make sure you do not have any `~/.emacs` file or `~/.emacs.d` folder
6363
present.
6464

65-
```shellsession
65+
```shell
6666
git clone https://github.com/bbatsov/prelude.git path/to/local/repo
6767
ln -s path/to/local/repo ~/.emacs.d
6868
cd ~/.emacs.d
@@ -211,7 +211,7 @@ Just run <kbd>M-x package-list-packages RET U x</kbd>.
211211

212212
#### Update Prelude's code
213213

214-
```shellsession
214+
```shell
215215
cd path/to/prelude/installation
216216
git pull
217217
```

docs/troubleshooting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on the presence of the `aspell` program and an `en` dictionary on your
2222
system. You can install `aspell` and the dictionary on macOS with
2323
`homebrew` like this:
2424

25-
```shellsession
25+
```shell
2626
brew install aspell --with-lang=en
2727
```
2828

docs/usage.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
Nothing fancy here. Just start Emacs as usual. Personally I run Emacs
66
in daemon mode:
77

8-
```shellsession
8+
```shell
99
emacs --daemon
1010
```
1111

1212
Afterwards I connect to the server with either a terminal or a GUI
1313
client like this:
1414

15-
```shellsession
15+
```shell
1616
emacsclient -t
1717
emacsclient -c
1818
```
@@ -32,7 +32,7 @@ the command line using `vi(m)`.
3232

3333
You can also open a file with the cursor positioned directly on a specific line:
3434

35-
```shellsession
35+
```shell
3636
emacsclient somefile:1234
3737
```
3838

@@ -264,7 +264,7 @@ Use `C-h k <key>` (`<key>` are the ones listed on the left) or `C-h f <function>
264264

265265
To generate a PDF version of the cheatsheet you'll need to install [LaTeX](https://www.latex-project.org/get/). Afterwards you can do something like:
266266

267-
```shellsession
267+
```shell
268268
cd modules/doc
269269
pdflatex prelude-cheatsheet.tex
270270
```
@@ -273,7 +273,7 @@ pdflatex prelude-cheatsheet.tex
273273

274274
To generate a PNG version of the cheatsheet you'll need to install [Poppler](https://poppler.freedesktop.org/). Afterwards you can do something like:
275275

276-
```shellsession
276+
```shell
277277
cd modules/doc
278278
pdftocairo -png -singlefile prelude-cheatsheet.pdf cheatsheet
279279
```

0 commit comments

Comments
 (0)