1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-12 15:49:03 -08:00

regenerate readme

This commit is contained in:
Connor Olding 2021-10-29 15:46:21 +02:00
parent a2ae5a212d
commit a9f8dd642c

100
README.md
View file

@ -190,7 +190,7 @@ defaults to clang, gcc, and msvc in that order.
# debug build
compile rd.c
compile debug rd.c
# debug build with warning/error flags defined in .-shrc
# debug build with warning/error flags defined in ~/sh/arrays
# (requires .zshrc for global alias expansion)
compile WHOA rd.c
# likewise for C++
@ -895,215 +895,215 @@ return 0, ignoring arguments.
**TODO:** respect initctl like in `.zshrc`.
### [ADDPATH (-shrc)](/home/-shrc#L24)
### [ADDPATH (shrc)](/home/shrc#L24)
append a directory to `$PATH` if it isn't already present.
### [fils (-shrc)](/home/-shrc#L85)
### [fils (shrc)](/home/shrc#L85)
(GNU du) display human-friendly filesizes for the files in a directory.
### [lsa (-shrc)](/home/-shrc#L86)
### [lsa (shrc)](/home/shrc#L86)
(GNU ls) list files with directories and dotfiles ordered first.
### [perlu (-shrc)](/home/-shrc#L87)
### [perlu (shrc)](/home/shrc#L87)
invoke perl expecting files with UTF-8 encoding.
### [rgn (-shrc)](/home/-shrc#L88)
### [rgn (shrc)](/home/shrc#L88)
invoke ripgrep without respecting `.gitignore` files.
### [cms (-shrc)](/home/-shrc#L89)
### [cms (shrc)](/home/shrc#L89)
invoke cryptominisat5 with less noise.
### [curls (-shrc)](/home/-shrc#L90)
### [curls (shrc)](/home/shrc#L90)
invoke curl with less noise.
### [get (-shrc)](/home/-shrc#L95)
### [get (shrc)](/home/shrc#L95)
retrieve the most recent files from the default branch of a git repository, and not much else.
### [gs (-shrc)](/home/-shrc#L96)
### [gs (shrc)](/home/shrc#L96)
invoke git's status subcommand.
**TODO:** consider renaming because gs(1) already exists.
### [gd (-shrc)](/home/-shrc#L98)
### [gd (shrc)](/home/shrc#L98)
invoke git's diff subcommand with fewer lines of context.
### [gds (-shrc)](/home/-shrc#L99)
### [gds (shrc)](/home/shrc#L99)
display difference stats from git.
### [gl (-shrc)](/home/-shrc#L100)
### [gl (shrc)](/home/shrc#L100)
invoke git's log subcommand with a single line per commit.
**TODO:** consider renaming because [gl(1)](https://github.com/gitless-vcs/gitless) already exists.
### [glo (-shrc)](/home/-shrc#L102)
### [glo (shrc)](/home/shrc#L102)
navigate git's commit tree succinctly.
### [g1 (-shrc)](/home/-shrc#L103)
### [g1 (shrc)](/home/shrc#L103)
display the most recent git commit.
### [gr (-shrc)](/home/-shrc#L105)
### [gr (shrc)](/home/shrc#L105)
display remote git repositories verbosely.
### [gb (-shrc)](/home/-shrc#L106)
### [gb (shrc)](/home/shrc#L106)
display the current git branch.
**NOTE:** there also exists a gb(1) program provided by
the *gb* package that i don't use.
### [gdp (-shrc)](/home/-shrc#L109)
### [gdp (shrc)](/home/shrc#L109)
invoke `gd` to diff a commit from its parent. the commit defaults to "HEAD".
### [revend (-shrc)](/home/-shrc#L120)
### [revend (shrc)](/home/shrc#L120)
reverse the 4-byte endianness of a single file. *this is an in-place operation!*
### [clone (-shrc)](/home/-shrc#L121)
### [clone (shrc)](/home/shrc#L121)
invoke rsync suitably for creating virtually indistinguishable copies of files.
### [aligntabs (-shrc)](/home/-shrc#L122)
### [aligntabs (shrc)](/home/shrc#L122)
align tab-delimited fields in stdin.
### [crawla (-shrc)](/home/-shrc#L123)
### [crawla (shrc)](/home/shrc#L123)
play Dungeon Crawl: Stone Soup through ssh on the akrasiac server.
### [crawlz (-shrc)](/home/-shrc#L124)
### [crawlz (shrc)](/home/shrc#L124)
play Dungeon Crawl: Stone Soup through ssh on the develz server.
### [eahead (-shrc)](/home/-shrc#L126)
### [eahead (shrc)](/home/shrc#L126)
deprecated name for [`ea head`.](#ea)
### [eaget (-shrc)](/home/-shrc#L127)
### [eaget (shrc)](/home/shrc#L127)
deprecated name for [`ea get`.](#ea)
### [eaput (-shrc)](/home/-shrc#L128)
### [eaput (shrc)](/home/shrc#L128)
deprecated name for [`ea put`.](#ea)
### [eamove (-shrc)](/home/-shrc#L129)
### [eamove (shrc)](/home/shrc#L129)
deprecated name for [`ea move`.](#ea)
### [eacopy (-shrc)](/home/-shrc#L130)
### [eacopy (shrc)](/home/shrc#L130)
deprecated name for [`ea copy`.](#ea)
### [eadelete (-shrc)](/home/-shrc#L131)
### [eadelete (shrc)](/home/shrc#L131)
deprecated name for [`ea delete`.](#ea)
### [eamv (-shrc)](/home/-shrc#L132)
### [eamv (shrc)](/home/shrc#L132)
invoke [`ea move`.](#ea)
### [eacp (-shrc)](/home/-shrc#L133)
### [eacp (shrc)](/home/shrc#L133)
invoke [`ea copy`.](#ea)
### [earm (-shrc)](/home/-shrc#L134)
### [earm (shrc)](/home/shrc#L134)
invoke [`ea delete`.](#ea)
### [ll (-shrc)](/home/-shrc#L136)
### [ll (shrc)](/home/shrc#L136)
list files verbosely, fancily, ordered, but not recursively.
### [diff (-shrc)](/home/-shrc#L145)
### [diff (shrc)](/home/shrc#L145)
use git's diff subcommand for general diffing.
### [gc (-shrc)](/home/-shrc#L146)
### [gc (shrc)](/home/shrc#L146)
columnize text by using git's column subcommand.
**TODO:** consider renaming because gc(1) already exists.
### [counts (-shrc)](/home/-shrc#L148)
### [counts (shrc)](/home/shrc#L148)
count files in the current directory, including files found recursively.
### [exts (-shrc)](/home/-shrc#L149)
### [exts (shrc)](/home/shrc#L149)
count and sort file extensions in the current directory, including files found recursively.
### [nocom (-shrc)](/home/-shrc#L150)
### [nocom (shrc)](/home/shrc#L150)
strip single-line C-like and shell-like comments.
### [jrep (-shrc)](/home/-shrc#L151)
### [jrep (shrc)](/home/shrc#L151)
extract strings comprised of basic ASCII or Japanese codepoints.
### [bomb (-shrc)](/home/-shrc#L152)
### [bomb (shrc)](/home/shrc#L152)
add a Byte-Order Mark to a file.
### [cleanse (-shrc)](/home/-shrc#L153)
### [cleanse (shrc)](/home/shrc#L153)
strip unprintable and non-ASCII characters.
### [unwrap (-shrc)](/home/-shrc#L154)
### [unwrap (shrc)](/home/shrc#L154)
join paragraphs into one line each.
### [double (-shrc)](/home/-shrc#L155)
### [double (shrc)](/home/shrc#L155)
print every line twice. <br/> print every line twice.
**NOTE:** there also exists a double(1) program provided by
the *plotutils* package that i don't use.
### [join2 (-shrc)](/home/-shrc#L158)
### [join2 (shrc)](/home/shrc#L158)
join every other line.
### [katagana (-shrc)](/home/-shrc#L159)
### [katagana (shrc)](/home/shrc#L159)
convert katakana codepoints to their equivalent hiragana.
this is occasionally useful when translating [debug text from ancient games.](https://tcrf.net/)
### [picky (-shrc)](/home/-shrc#L161)
### [picky (shrc)](/home/shrc#L161)
list pacman packages that were manually installed and are not in some common package groups.
this list can be used to assist later reinstalls.
### [unused (-shrc)](/home/-shrc#L164)
### [unused (shrc)](/home/shrc#L164)
list pacman packages that weren't installed explicitly and don't satisfy any dependencies.
this list can be used to free up some disk space.
### [makepkgf (-shrc)](/home/-shrc#L167)
### [makepkgf (shrc)](/home/shrc#L167)
make the freakin' package!
### [rakef (-shrc)](/home/-shrc#L168)
### [rakef (shrc)](/home/shrc#L168)
make the freakin' gem!
### [pl (-shrc)](/home/-shrc#L170)
### [pl (shrc)](/home/shrc#L170)
print each argument on its own line.