zsh: add table headers
This commit is contained in:
parent
cd9e827041
commit
e548524ad1
27
zsh.md
27
zsh.md
|
@ -6,19 +6,20 @@ layout: 2017/sheet
|
|||
|
||||
### Expressions
|
||||
|
||||
| Expression | Example | Description
|
||||
| --- | --- | ---
|
||||
| `!!` | `sudo !!` | Last command (`sudo !!`)
|
||||
| --- | --- | ---
|
||||
| `!*` | `vim !*` | Last command's parameters (`vim !*`)
|
||||
| `!^` | | Last command's first parameter
|
||||
| `!$` | | Last command's last parameter
|
||||
| --- | --- | ---
|
||||
| `!?ls<tab>` | `sudo !?mv<tab>` | Command and params of last `ls` command
|
||||
| `!?ls?:*<tab>` | | Params of last `ls` command
|
||||
| --- | --- | ---
|
||||
| `*(m0)` | `rm *(m0)` | Last modified today
|
||||
| `*(m-4)` | | Last modified <4 days ago
|
||||
| Expression | Example | Description
|
||||
| --- | --- | ---
|
||||
| `!!` | `sudo !!` | Last command (`sudo !!`)
|
||||
| --- | --- | ---
|
||||
| `!*` | `vim !*` | Last command's parameters (`vim !*`)
|
||||
| `!^` | | Last command's first parameter
|
||||
| `!$` | | Last command's last parameter
|
||||
| --- | --- | ---
|
||||
| `!?ls` `<tab>` | `sudo !?mv` `<tab>` | Command and params of last `ls` command
|
||||
| `!?ls?:*` `<tab>` | | Params of last `ls` command
|
||||
| --- | --- | ---
|
||||
| `*(m0)` | `rm *(m0)` | Last modified today
|
||||
| `*(m-4)` | | Last modified <4 days ago
|
||||
{: .-headers}
|
||||
|
||||
### Change default shell
|
||||
|
||||
|
|
Loading…
Reference in New Issue