Skip to content

Commit 96873f2

Browse files
imjlkignatz
andauthored
Change the order so that alias of trail works properly. (#92)
Add missing `-p` to `mkdir`. Otherwise a pre-existing `traildepot` will lead to non-zero exit code. --------- Co-authored-by: Sebastian Jeltsch <[email protected]>
1 parent 321006f commit 96873f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Alternatively, run TrailBase using the Docker image:
104104

105105
```sh
106106
alias trail='
107-
mkdir traildepot && \
107+
mkdir -p traildepot && \
108108
docker run \
109109
--network host \
110110
--mount type=bind,source="$PWD"/traildepot,target=/app/traildepot \

docs/src/content/docs/getting-started/_install_oneliners.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const installDocker= `
66
# Docker is used here merely as an easy, portable way to install TrailBase.
77
# To make this persistent, you'll have to add the alias to your shell's rc.
88
alias trail='
9-
mkdir traildepot && \\
9+
mkdir -p traildepot && \\
1010
docker run \\
1111
--network host \\
1212
--mount type=bind,source="$PWD"/traildepot,target=/app/traildepot \\

0 commit comments

Comments
 (0)