2 ms·
i see no way to name the memo in your examples, so how do you refer to them later? also, this seems a lot like an automated way to write shell scripts that you
by naikrovek 1y ago
i see no way to name the memo in your examples, so how do you refer to them later?
also, this seems a lot like an automated way to write shell scripts that you can pipe to and from. so why not use a shell script that won't surprise anyone instead of this, which might?
- aktau 1y agoThe name of the memo is the command that comes after it: $ memo my-complex-command --some-flag my-positional-arg-1 In this invocation, a hash (sha512) is taken of "my-complex-command --some-flag my-positional-arg-1", which is then stored in /tmp/memo/${USER}/{sha512hash}.zst (if you've got zstd installed, other compression extensions otherwise).