summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-06-21 14:12:40 +0000
committerHubert Hirtz <hubert@hirtzfr.eu>2020-06-21 16:13:50 +0200
commitf80b418c2710a6ee7777186e0401fe829c6b643e (patch)
tree6c8dec28290eb6bea791216f1411b5856eab4752 /README.md
parentAdd the issue tracker and the mailing list to the README (diff)
readme: fix example config
There's no way to escape single quotes in shell scripts. Since the default password uses one, switch to here-documents.
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 39dc4b6..2a14380 100644
--- a/README.md
+++ b/README.md
@@ -8,12 +8,13 @@ Works best with soju!
```shell
mkdir -p ~/.config/senpai
-echo '
+cat <<EOF >~/.config/senpai/senpai.yaml
addr: irc.freenode.net:6697
nick: senpai
real: Senpai is the best senpai
user: sasluser
-password: "my password can't be this cute"' > ~/.config/senpai/senpai.yaml
+password: "my password can't be this cute"
+EOF
go run ./cmd/irc
```