Skip to content

eush77/fish-tmpdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages