Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mgalgs/zsh-take
- Owner: mgalgs
- License: mit
- Created: 2023-09-27T18:37:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-27T18:38:38.000Z (over 1 year ago)
- Last Synced: 2024-10-15T11:27:08.792Z (3 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- 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.