diff --git a/README.md b/README.md index f41d540..700ff59 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,19 @@ To create a new file: um next ``` -This will create the file write the header: +This will create the file, write the header, and echo the filename to stdout. In practice I pipe it into [this function](https://gist.github.com/brtholomy/1c152af3c09be4d3f916f0e19f70f47b) that calls `emacsclient`: + +```sh +um next | e +``` + +Which is effectively: + +```sh +um next | xargs emacsclient -n +``` + +The generated header would be: ```markdown # 01.md