I have a little CLI toy project that uses the file system for storage (YAML files) and defaults to a dot folder under the home folder (~), this default can be overridden by an environment variable that sets the path. To ease manual testing, I wanted to automatically set up an environment variable wheneve I cd’ed into the project folder, also as bonus I wanted this variable to be removed from the environment whenever I cd’ed out. Googling a bit, …
Tag: Bash
If you accumulate a lot of "Past and incomplete" Slack reminders, this will hang your client when you run the /remind list command. Right now there is no workaround for this but using the API. Here is a simple hack you can run on bash to batch delete ALL your reminders on Slack. …