mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
regenerate readme
This commit is contained in:
parent
44bdf2627d
commit
901285c28a
1 changed files with 35 additions and 46 deletions
81
README.md
81
README.md
|
@ -60,16 +60,6 @@ this example requires zsh:
|
||||||
1.9952623149688795
|
1.9952623149688795
|
||||||
```
|
```
|
||||||
|
|
||||||
### [aur](/sh/aur#L5)
|
|
||||||
|
|
||||||
download, edit, make, and install packages from the
|
|
||||||
[AUR.](https://aur.archlinux.org/)
|
|
||||||
it's a little broken.
|
|
||||||
|
|
||||||
```
|
|
||||||
$ aur -eyoI cmdpack-uips applyppf
|
|
||||||
```
|
|
||||||
|
|
||||||
### [autosync](/sh/autosync#L6)
|
### [autosync](/sh/autosync#L6)
|
||||||
|
|
||||||
combine `inotifywait` and `rsync`.
|
combine `inotifywait` and `rsync`.
|
||||||
|
@ -898,55 +888,55 @@ $ xxp ~/rc/install | head -n2
|
||||||
|
|
||||||
## miscellaneous
|
## miscellaneous
|
||||||
|
|
||||||
### [dummy (zshrc)](/home/zshrc#L81)
|
### [dummy (zshrc)](/home/zshrc#L82)
|
||||||
|
|
||||||
return 0, ignoring arguments.
|
return 0, ignoring arguments.
|
||||||
|
|
||||||
### [dirprev (zshrc)](/home/zshrc#L86)
|
### [dirprev (zshrc)](/home/zshrc#L87)
|
||||||
|
|
||||||
rotate and change to the previous directory in the directory stack
|
rotate and change to the previous directory in the directory stack
|
||||||
without consuming the prompt.
|
without consuming the prompt.
|
||||||
|
|
||||||
### [dirnext (zshrc)](/home/zshrc#L93)
|
### [dirnext (zshrc)](/home/zshrc#L94)
|
||||||
|
|
||||||
rotate and change to the next directory in the directory stack
|
rotate and change to the next directory in the directory stack
|
||||||
without consuming the prompt.
|
without consuming the prompt.
|
||||||
|
|
||||||
### [dirup (zshrc)](/home/zshrc#L100)
|
### [dirup (zshrc)](/home/zshrc#L101)
|
||||||
|
|
||||||
change to the parent directory of the current working directory
|
change to the parent directory of the current working directory
|
||||||
without consuming the prompt.
|
without consuming the prompt.
|
||||||
|
|
||||||
### [dirview (zshrc)](/home/zshrc#L107)
|
### [dirview (zshrc)](/home/zshrc#L108)
|
||||||
|
|
||||||
use a fuzzy finder to select a recent directory in the directory stack
|
use a fuzzy finder to select a recent directory in the directory stack
|
||||||
and change to it without consuming the prompt.
|
and change to it without consuming the prompt.
|
||||||
|
|
||||||
### [OMFG (zshrc)](/home/zshrc#L212)
|
### [OMFG (zshrc)](/home/zshrc#L213)
|
||||||
|
|
||||||
silence stdout.
|
silence stdout.
|
||||||
|
|
||||||
### [STFU (zshrc)](/home/zshrc#L213)
|
### [STFU (zshrc)](/home/zshrc#L214)
|
||||||
|
|
||||||
silence stderr.
|
silence stderr.
|
||||||
|
|
||||||
### [SWAP (zshrc)](/home/zshrc#L214)
|
### [SWAP (zshrc)](/home/zshrc#L215)
|
||||||
|
|
||||||
swap stdout and stderr. uses fd 3 as an intermediary.
|
swap stdout and stderr. uses fd 3 as an intermediary.
|
||||||
|
|
||||||
### [WHOA (zshrc)](/home/zshrc#L215)
|
### [WHOA (zshrc)](/home/zshrc#L216)
|
||||||
|
|
||||||
expand to several C/C++ flags to ease development.
|
expand to several C/C++ flags to ease development.
|
||||||
|
|
||||||
### [WHEE (zshrc)](/home/zshrc#L216)
|
### [WHEE (zshrc)](/home/zshrc#L217)
|
||||||
|
|
||||||
WHOA but for C++ (specifically g++) only.
|
WHOA but for C++ (specifically g++) only.
|
||||||
|
|
||||||
### [WELP (zshrc)](/home/zshrc#L217)
|
### [WELP (zshrc)](/home/zshrc#L218)
|
||||||
|
|
||||||
expand to C++ flags to enable a C++-as-C facade.
|
expand to C++ flags to enable a C++-as-C facade.
|
||||||
|
|
||||||
### [reload (zshrc)](/home/zshrc#L264)
|
### [reload (zshrc)](/home/zshrc#L265)
|
||||||
|
|
||||||
reload zsh by wiping temp files, recompiling rc files,
|
reload zsh by wiping temp files, recompiling rc files,
|
||||||
and replacing the current process with a new zsh process.
|
and replacing the current process with a new zsh process.
|
||||||
|
@ -975,102 +965,102 @@ print each argument on its own line.
|
||||||
|
|
||||||
list files verbosely, fancily, ordered, but not recursively.
|
list files verbosely, fancily, ordered, but not recursively.
|
||||||
|
|
||||||
### [gdp (shrc)](/home/shrc#L107)
|
### [gdp (shrc)](/home/shrc#L111)
|
||||||
|
|
||||||
invoke `gd` to diff a commit from its parent. the commit defaults to "HEAD".
|
invoke `gd` to diff a commit from its parent. the commit defaults to "HEAD".
|
||||||
|
|
||||||
### [gd (shrc)](/home/shrc#L113)
|
### [gd (shrc)](/home/shrc#L117)
|
||||||
|
|
||||||
invoke git's diff subcommand with fewer lines of context.
|
invoke git's diff subcommand with fewer lines of context.
|
||||||
|
|
||||||
### [rgn (shrc)](/home/shrc#L116)
|
### [rgn (shrc)](/home/shrc#L120)
|
||||||
|
|
||||||
invoke ripgrep without respecting `.gitignore` files.
|
invoke ripgrep without respecting `.gitignore` files.
|
||||||
|
|
||||||
### [curls (shrc)](/home/shrc#L122)
|
### [curls (shrc)](/home/shrc#L126)
|
||||||
|
|
||||||
invoke curl with less noise.
|
invoke curl with less noise.
|
||||||
|
|
||||||
### [revend (shrc)](/home/shrc#L134)
|
### [revend (shrc)](/home/shrc#L138)
|
||||||
|
|
||||||
reverse the 4-byte endianness of a single file. *this is an in-place operation!*
|
reverse the 4-byte endianness of a single file. *this is an in-place operation!*
|
||||||
|
|
||||||
### [clone (shrc)](/home/shrc#L137)
|
### [clone (shrc)](/home/shrc#L141)
|
||||||
|
|
||||||
invoke rsync suitably for creating virtually indistinguishable copies of files.
|
invoke rsync suitably for creating virtually indistinguishable copies of files.
|
||||||
|
|
||||||
### [aligntabs (shrc)](/home/shrc#L140)
|
### [aligntabs (shrc)](/home/shrc#L144)
|
||||||
|
|
||||||
align tab-delimited fields in stdin.
|
align tab-delimited fields in stdin.
|
||||||
|
|
||||||
### [crawla (shrc)](/home/shrc#L151)
|
### [crawla (shrc)](/home/shrc#L155)
|
||||||
|
|
||||||
play Dungeon Crawl: Stone Soup through ssh on the akrasiac server.
|
play Dungeon Crawl: Stone Soup through ssh on the akrasiac server.
|
||||||
|
|
||||||
### [crawlz (shrc)](/home/shrc#L154)
|
### [crawlz (shrc)](/home/shrc#L158)
|
||||||
|
|
||||||
play Dungeon Crawl: Stone Soup through ssh on the develz server.
|
play Dungeon Crawl: Stone Soup through ssh on the develz server.
|
||||||
|
|
||||||
### [diff (shrc)](/home/shrc#L157)
|
### [diff (shrc)](/home/shrc#L161)
|
||||||
|
|
||||||
use git's diff subcommand for general diffing.
|
use git's diff subcommand for general diffing.
|
||||||
|
|
||||||
### [gc (shrc)](/home/shrc#L160)
|
### [gc (shrc)](/home/shrc#L164)
|
||||||
|
|
||||||
columnize text by using git's column subcommand.
|
columnize text by using git's column subcommand.
|
||||||
|
|
||||||
**TODO:** consider renaming because gc(1) already exists.
|
**TODO:** consider renaming because gc(1) already exists.
|
||||||
|
|
||||||
### [counts (shrc)](/home/shrc#L164)
|
### [counts (shrc)](/home/shrc#L168)
|
||||||
|
|
||||||
count files in the current directory, including files found recursively.
|
count files in the current directory, including files found recursively.
|
||||||
|
|
||||||
### [exts (shrc)](/home/shrc#L167)
|
### [exts (shrc)](/home/shrc#L171)
|
||||||
|
|
||||||
count and sort file extensions in the current directory, including files found recursively.
|
count and sort file extensions in the current directory, including files found recursively.
|
||||||
|
|
||||||
### [nocom (shrc)](/home/shrc#L170)
|
### [nocom (shrc)](/home/shrc#L174)
|
||||||
|
|
||||||
strip single-line C-like and shell-like comments.
|
strip single-line C-like and shell-like comments.
|
||||||
|
|
||||||
### [jrep (shrc)](/home/shrc#L173)
|
### [jrep (shrc)](/home/shrc#L177)
|
||||||
|
|
||||||
extract strings comprised of basic ASCII or Japanese codepoints.
|
extract strings comprised of basic ASCII or Japanese codepoints.
|
||||||
|
|
||||||
### [bomb (shrc)](/home/shrc#L176)
|
### [bomb (shrc)](/home/shrc#L180)
|
||||||
|
|
||||||
add a Byte-Order Mark to a file.
|
add a Byte-Order Mark to a file.
|
||||||
|
|
||||||
### [cleanse (shrc)](/home/shrc#L179)
|
### [cleanse (shrc)](/home/shrc#L183)
|
||||||
|
|
||||||
strip unprintable and non-ASCII characters.
|
strip unprintable and non-ASCII characters.
|
||||||
|
|
||||||
### [double (shrc)](/home/shrc#L182)
|
### [double (shrc)](/home/shrc#L186)
|
||||||
|
|
||||||
print every line twice. <br/> print every line twice.
|
print every line twice. <br/> print every line twice.
|
||||||
|
|
||||||
**NOTE:** there also exists a double(1) program provided by
|
**NOTE:** there also exists a double(1) program provided by
|
||||||
the *plotutils* package that i don't use.
|
the *plotutils* package that i don't use.
|
||||||
|
|
||||||
### [katagana (shrc)](/home/shrc#L187)
|
### [katagana (shrc)](/home/shrc#L191)
|
||||||
|
|
||||||
convert katakana codepoints to their equivalent hiragana.
|
convert katakana codepoints to their equivalent hiragana.
|
||||||
|
|
||||||
this is occasionally useful when translating [debug text from ancient games.](https://tcrf.net/)
|
this is occasionally useful when translating [debug text from ancient games.](https://tcrf.net/)
|
||||||
|
|
||||||
### [makepkgf (shrc)](/home/shrc#L191)
|
### [makepkgf (shrc)](/home/shrc#L195)
|
||||||
|
|
||||||
make the freakin' package!
|
make the freakin' package!
|
||||||
|
|
||||||
### [rakef (shrc)](/home/shrc#L194)
|
### [rakef (shrc)](/home/shrc#L198)
|
||||||
|
|
||||||
make the freakin' gem!
|
make the freakin' gem!
|
||||||
|
|
||||||
### [relog (shrc)](/home/shrc#L197)
|
### [relog (shrc)](/home/shrc#L201)
|
||||||
|
|
||||||
log on again to refresh your unix groups, etc.
|
log on again to refresh your unix groups, etc.
|
||||||
|
|
||||||
### [carry (shrc)](/home/shrc#L200)
|
### [carry (shrc)](/home/shrc#L204)
|
||||||
|
|
||||||
copy files in a plain way using rsync. affected by umask.
|
copy files in a plain way using rsync. affected by umask.
|
||||||
|
|
||||||
|
@ -1083,7 +1073,6 @@ copy files in a plain way using rsync. affected by umask.
|
||||||
| [arith](#arith) | zsh | ✔️ | ✔️ | ✔️ | ✔️ |
|
| [arith](#arith) | zsh | ✔️ | ✔️ | ✔️ | ✔️ |
|
||||||
| [arrays](#arrays) | **false** | ✔️ | ✔️ | ⭕ | ⭕ |
|
| [arrays](#arrays) | **false** | ✔️ | ✔️ | ⭕ | ⭕ |
|
||||||
| [askey](#askey) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
|
| [askey](#askey) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
|
||||||
| [aur](#aur) | bash | ⭕ | ✔️ | ⭕ | ⭕ |
|
|
||||||
| [autosync](#autosync) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
|
| [autosync](#autosync) | zsh | ✔️ | ⭕ | ⭕ | ⭕ |
|
||||||
| [bak](#bak) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
|
| [bak](#bak) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
|
||||||
| [baknow](#baknow) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
|
| [baknow](#baknow) | *sh* | ✔️ | ✔️ | ✔️ | ✔️ |
|
||||||
|
|
Loading…
Add table
Reference in a new issue