https://github.com/lessmost/omf-plugin-cdtemp
An oh-my-fish plugin to create a temporary directory and switch to it.
https://github.com/lessmost/omf-plugin-cdtemp
fish fish-shell oh-my-fish oh-my-fish-plugin
Last synced: 2 months ago
JSON representation
An oh-my-fish plugin to create a temporary directory and switch to it.
- Host: GitHub
- URL: https://github.com/lessmost/omf-plugin-cdtemp
- Owner: lessmost
- License: mit
- Created: 2019-07-25T12:15:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-18T11:44:12.000Z (about 5 years ago)
- Last Synced: 2025-01-25T23:22:45.158Z (4 months ago)
- Topics: fish, fish-shell, oh-my-fish, oh-my-fish-plugin
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#### omf-plugin-cdtemp
> A plugin for [Oh My Fish][omf-link].
[](/LICENSE)
[](https://fishshell.com)
[](https://www.github.com/oh-my-fish/oh-my-fish)
## cdtemp
`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`:
```fish
set -gx CDTEMPPATH /your/temp/folder
```## Install
```fish
$ omf install https://github.com/zqlu/omf-plugin-cdtemp
```## Usage
```fish
$ cdtemp
```# License
[MIT][mit] © [Zhiqiang Lu][author] et [al][contributors]
[mit]: https://opensource.org/licenses/MIT
[author]: https://github.com/{{USER}}
[contributors]: https://github.com/{{USER}}/plugin-omf-plugin-cdtemp/graphs/contributors
[omf-link]: https://www.github.com/oh-my-fish/oh-my-fish
[license-badge]: https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square