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: 3 months ago
JSON representation
Adds a `take` command to your zsh for a single-step mkdir/clone + cd
- Host: GitHub
- URL: https://github.com/mgalgs/zsh-take
- Owner: mgalgs
- License: mit
- Created: 2023-09-27T18:37:47.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T18:38:38.000Z (almost 3 years ago)
- Last Synced: 2026-03-29T21:47:52.841Z (4 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.