Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mgalgs/zsh-take

Adds a `take` command to your zsh for a single-step mkdir/clone + cd
https://github.com/mgalgs/zsh-take

Last synced: about 2 months ago
JSON representation

Adds a `take` command to your zsh for a single-step mkdir/clone + cd

Awesome Lists containing this project

README

        

zsh plugin that adds a `take` command to your zsh to make creating
directories (or download/cloning remote assets) and changing into them a
single step.

It may seem small, but micro-optimizations to your workflow add up! And
after you've gotten used to `take`, using the `mkdir; cd` pattern will feel
archaic and inefficient.

## Examples

### Create directory and change into it

take my-cool-new-dir

Is equivalent to:

mkdir my-cool-new-dir
cd my-cool-new-dir

### Clone repo and cd into it

take https://github.com/mgalgs/zsh-take.git

Is equivalent to:

git clone https://github.com/mgalgs/zsh-take.git
cd zsh-take

## Installation

Add this repo with your plugin manager (which should find the
zsh-take.plugin.zsh file and source it automatically), or just download the
source and source it yourself.