An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

#### omf-plugin-cdtemp

> A plugin for [Oh My Fish][omf-link].

[![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE)
[![Fish Shell Version](https://img.shields.io/badge/fish-v2.2.0-007EC7.svg?style=flat-square)](https://fishshell.com)
[![Oh My Fish Framework](https://img.shields.io/badge/Oh%20My%20Fish-Framework-007EC7.svg?style=flat-square)](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