Skip to content

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

License

Notifications You must be signed in to change notification settings

mafintosh/tmpdir-tab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages