diff options
author | Simon Ser <contact@emersion.fr> | 2020-06-21 14:12:40 +0000 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-06-21 16:13:50 +0200 |
commit | f80b418c2710a6ee7777186e0401fe829c6b643e (patch) | |
tree | 6c8dec28290eb6bea791216f1411b5856eab4752 /README.md | |
parent | Add 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.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 ``` |