1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01:00

Cheatsheet: Document remote URL functionality for take (#16)

The lack of documentation for the remote URL functionality was pointed
out over here [1].

[1] https://github.com/ohmyzsh/ohmyzsh/pull/2029#issuecomment-1213256155
Mitchel Humpherys
2022-10-07 05:36:47 -07:00
committed by GitHub
parent 03d83eae3c
commit 297cf2d7d7

@@ -17,7 +17,8 @@ Quick reference:
| Command | Description |
| :-------------- | :----------------------------------------------------------------------------------------- |
| `alias` | List all aliases |
| `take` / `mkcd` | Create a new directory and change to it, will create intermediate directories as required. |
| `mkcd` | Create a new directory and change to it, will create intermediate directories as required. |
| `take` | Like `mkcd`, but also knows how to handle remote URLs. When given an argument that looks like a URL (something that ends in `.git` or `.tar.(gz\|bz2\|xz)`), download the remote resource and extract it (if necessary) into the current directory. Then change to the newly extracted/downloaded/cloned directory. |
| `zsh_stats` | Get a list of the top 20 commands and how many times they have been run. |
## Directory