tmpdir-tab

1.2.0 • Public • Published

tmpdir-tab

Bash helper that gives you a tmpdir per terminal tab and cleans it up when you exit

Install

npm install -g tmpdir-tab

Usage

First add the following line to your .bashrc or .bash_profile

if [ -f $(which tmpdir-tab) ]; then
  . $(which tmpdir-tab)
fi

Then restart your terminal. Afterwards running tmpdir will cd to a tmp dir that will removed when you close the terminal

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i tmpdir-tab

      Weekly Downloads

      0

      Version

      1.2.0

      License

      MIT

      Last publish

      Collaborators

      • mafintosh