branch: shell-command+
commit 1c132fee49f9e987e6b1e2c484a577221476bc62
Author: Philip K <[email protected]>
Commit: Philip K <[email protected]>
Give example configuration in README
---
README.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/README.md b/README.md
index 9140eb5..115ae7b 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,16 @@ Bind the command `shell-command+` to any key, for example
`M-!`.
Bug reports and patches should be sent to my [public inbox].
+Using [`setup`][setup] I configure `shell-command+` as so:
+
+~~~elisp
+(setup shell-command+
+ (:option shell-command+-prompt "$ ")
+ (:with-feature dired
+ (:bind "M-!" shell-command+))
+ (:global "M-!" shell-command+))
+~~~
+
Copying
-------
@@ -56,4 +66,5 @@ Domain Dedication][cc0] license.
[leah]: http://leahneukirchen.org/dotfiles/.emacs
[ELPA]: http://elpa.gnu.org/packages/shell-command+.html
[public inbox]: https://lists.sr.ht/~zge/public-inbox
+[setup]: http://elpa.gnu.org/packages/setup.html
[cc0]: https://creativecommons.org/publicdomain/zero/1.0/deed