|
|
|
@ -35,9 +35,11 @@ plugins=(... common-aliases) |
|
|
|
| mv | `mv -i` | Move a file | |
|
|
|
| mv | `mv -i` | Move a file | |
|
|
|
| zshrc | `${=EDITOR} ~/.zshrc` | Quickly access the ~/.zshrc file | |
|
|
|
| zshrc | `${=EDITOR} ~/.zshrc` | Quickly access the ~/.zshrc file | |
|
|
|
| dud | `du -d 1 -h` | Display the size of files at depth 1 in current location in human-readable form | |
|
|
|
| dud | `du -d 1 -h` | Display the size of files at depth 1 in current location in human-readable form | |
|
|
|
| duf | `du -sh` | Display the size of files in current location in human-readable form | |
|
|
|
| duf\* | `du -sh` | Display the size of files in current location in human-readable form | |
|
|
|
| t | `tail -f` | Shorthand for tail which outputs the last part of a file | |
|
|
|
| t | `tail -f` | Shorthand for tail which outputs the last part of a file | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\* Only if the [`duf`](https://github.com/muesli/duf) command isn't installed. |
|
|
|
|
|
|
|
|
|
|
|
### find and grep |
|
|
|
### find and grep |
|
|
|
|
|
|
|
|
|
|
|
| Alias | Command | Description | |
|
|
|
| Alias | Command | Description | |
|
|
|
@ -66,12 +68,15 @@ These aliases are expanded in any position in the command line, meaning you can |
|
|
|
end of the command you've typed. Examples: |
|
|
|
end of the command you've typed. Examples: |
|
|
|
|
|
|
|
|
|
|
|
Quickly pipe to less: |
|
|
|
Quickly pipe to less: |
|
|
|
|
|
|
|
|
|
|
|
```zsh |
|
|
|
```zsh |
|
|
|
$ ls -l /var/log L |
|
|
|
$ ls -l /var/log L |
|
|
|
# will run |
|
|
|
# will run |
|
|
|
$ ls -l /var/log | less |
|
|
|
$ ls -l /var/log | less |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
Silences stderr output: |
|
|
|
Silences stderr output: |
|
|
|
|
|
|
|
|
|
|
|
```zsh |
|
|
|
```zsh |
|
|
|
$ find . -type f NE |
|
|
|
$ find . -type f NE |
|
|
|
# will run |
|
|
|
# will run |
|
|
|
|