aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-25 23:30:52 -0300
committerEuAndreh <eu@euandre.org>2023-03-22 16:22:15 -0300
commitf0fd39415c74b35327eaa5b9d8e46e0b5f3f506d (patch)
treece6e5cbdefaaf5b09eb7d2925bd90bdfbaf5ccf1
parentaux/workflow/dist.sh: Update Git push options (diff)
downloadremembering-0.3.0.tar.gz (sig)
remembering-0.3.0.tar.xz
Release v0.3.0v0.3.0
-rw-r--r--CHANGELOG.md55
-rw-r--r--Makefile4
2 files changed, 57 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 826d846..82401f3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,61 @@ Changelog for [remembering](https://euandreh.xyz/remembering/en/).
# Unreleased
+
+# [0.3.0](https://git.euandreh.xyz/remembering/commit/?id=v0.3.0) - 2022-11-25
+
+## Added
+
+### Inference of profiles
+
+## Changed
+
+### Remove `-c COMMAND` option
+
+Instead of requiring a `-c COMMAND` option explicitly, instead receive the
+commands to be ran as the "rest" argument to `remembering`, stored in `$@`. The
+usage changes from:
+
+```shell
+$ remembering -p a-profile -c 'command $arg1 arg2'
+```
+
+to:
+
+```shell
+$ remembering -p a-profile -- command $arg1 arg2
+```
+
+The upsides are:
+1. no need to worry about nested quotes: requiring a `-c COMMAND` option forced
+ one to wrap the command and args inside quotes, and the quotation used
+ influenced the command to be ran;
+1. one less option to know about: instead of having to remember what is the
+ specific letter used for the command, just prefix the command with
+ `remembering`;
+1. simpler and more powerful composition: wrapping commands without quoting them
+ allows one to use many of such tools in combination:
+
+```shell
+$ time nice -n10 timeout 3 remembering sleep 5
+```
+
+ The equivalent with `-c COMMAND` would be:
+
+```shell
+$ time -c 'nice -n10 -c "timeout 3 -c 'remembering -c "sleep 5"'"'
+```
+
+ But instead of alternating between single and double quotes, properly quoting
+ them at each level.
+
+## Fixed
+
+### Improve speed
+
+Rewrite to make it faster
+
+
## Changed
### Use of `$XDG_DATA_HOME`
diff --git a/Makefile b/Makefile
index 9ebf6c6..d038522 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
.POSIX:
PREFIX = /usr/local
MANPREFIX = '$(PREFIX)/share/man'
-VERSION = 0.2.1
-DATE = 2021-02-23
+VERSION = 0.3.0
+DATE = 2022-11-25
NAME = remembering
MAILING_LIST = public-inbox
TRANSLATIONS = pt fr eo