fish-tmpdir

cd into a fresh, one-time temporary directory, in Fish


Keywords
fish, tmpdir, tmp, temporary, directory, spawn, subshell
License
MIT
Install
npm install fish-tmpdir@0.2.1

Documentation

fish-tmpdir

Fish function that creates a temporary directory, cds into it, and wipes it out when the shell exits.

Based on the Bash version by @mafintosh.

CLI

tmpdir brings you to a fresh directory.

tmpdir [-s | --spawn] opens a subshell instead of utilizing the current one.

Install

npm

or simply put the script to your ~/.config/fish/functions/ or source it elsewise.

License

MIT