zsh: add table headers

This commit is contained in:
Rico Sta. Cruz 2017-10-20 18:22:32 +08:00
parent cd9e827041
commit e548524ad1
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 14 additions and 13 deletions

5
zsh.md
View File

@ -14,11 +14,12 @@ layout: 2017/sheet
| `!^` | | 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
| `!?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