This repository has been archived on 2020-09-21. You can view files and clone it, but cannot push or open issues or pull requests.
zim/modules/utility
Alex Poslavsky c9de5c5bd2 [utility] fix OpenBSD grep color
Use ggrep or use no color, also fixes #54.

Closes #54, closes #55
2016-07-19 00:23:49 -04:00
..
init.zsh [utility] fix OpenBSD grep color 2016-07-19 00:23:49 -04:00
README.md [utility] docs: remove unneeded escape 2016-01-12 14:19:38 -05:00

Utility

Utility aliases and functions.

Adds colour to ls and grep.

Aliases

ls

alias command description
ls ls --group-directories-first --color=auto directories first, use color (applies to all ls aliases)
l ls -lAh all files, human-readable sizes
lm `l ${PAGER}`
ll ls -lh human-readable sizes
lr ll -R human-readable sizes, recursive
lx ll -XB human-readable sizes, sort by extension (GNU only)
lk ll -Sr human-readable sizes, largest last
lt ll -tr human-readable sizes, most recent last
lc lt -c human-readable sizes, most recent last, change time

File Downloads

Aliases get to ( aria2c || axel || wget || curl ).

Resource Usage

alias command
df df -kh
du du -kh

Condoms

alias command
chmod chmod --preserve-root -v
chown chown --preserve-root -v
rm if available, safe-rm

Misc

alias description
mkcd mkdir and cd