~gpanders/wk

wk/README.md -rw-r--r-- 3.2 KiB
Add editor integration section to README
Add examples link to README
b0f73a80 — Greg Anders 2 months ago v0.1.0
Update installation instructions in README
34e7a98f — Greg Anders 2 months ago
Add introduction to README
effb62c9 — Greg Anders 2 months ago
Rename project to wk
6ad3c63e — Greg Anders 5 months ago
Update Homebrew installation instructions to include HEAD
f46a213f — Greg Anders 5 months ago
Update README example with piped commands
6e91c771 — Greg Anders 5 months ago
Split newline delimited argument into separate lines

When composing commands together, e.g.

    zet open "$(zet tags foobar)"

The command used as the argument must be quoted to prevent the shell
from splitting the output on spaces. However, this causes `zet open` to
have a single argument which is just a long newline-delimited string of
the output of `zet tags foobar`. In these cases manually split the
string on the newlines and treat each line as a separate argument.

This is a total hack: I'm basically doing the shell's job for it, but
it's an important feature to be able to chain commands together in this
way. To do it the bash way, you'd have to use

    readarray -t lines < <(zet tags foobar)
    zet open "${lines[@]}"

Bash sucks sometimes.
4eee30fc — Greg Anders 5 months ago
Add backlinks command to README
2e7bd3b5 — Greg Anders 5 months ago
Add Makefile
d1b16572 — Greg Anders 5 months ago
Automatically commit new notes
15326132 — Greg Anders 5 months ago
Add 'tags' subcommand
c7f43670 — Greg Anders 5 months ago
Update README
d68709c7 — Greg Anders 5 months ago
Initial commit