commit f80b418
Simon Ser
·
2020-06-21 14:12:40 +0000 UTC
parent 17c0904
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.
1 files changed,
+3,
-2
+3,
-2
1@@ -8,12 +8,13 @@ Works best with soju!
2
3 ```shell
4 mkdir -p ~/.config/senpai
5-echo '
6+cat <<EOF >~/.config/senpai/senpai.yaml
7 addr: irc.freenode.net:6697
8 nick: senpai
9 real: Senpai is the best senpai
10 user: sasluser
11-password: "my password can't be this cute"' > ~/.config/senpai/senpai.yaml
12+password: "my password can't be this cute"
13+EOF
14 go run ./cmd/irc
15 ```
16