A plugin for Oh My Fish.
cdtemp
command will make a temporary directory and change current working directory to it.
Default base location is in /tmp
, you can add the following to your ~/.config/fish/before.init.fish
:
set -gx CDTEMPPATH /your/temp/folder
$ omf install https://github.com/zqlu/omf-plugin-cdtemp
$ cdtemp
MIT © Zhiqiang Lu et al