aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md55
1 files changed, 55 insertions, 0 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`