1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 08:19:03 -08:00
Commit graph

19 commits

Author SHA1 Message Date
c7603653b0 prefer || over test ... -o ... 2024-02-23 22:31:21 -08:00
eaa94d66b9 localize iterator variables
see commit 7d895d2
2022-03-06 13:13:40 -08:00
a2ae5a212d rename ~/.-shrc to ~/.shrc
the reason for the hyphen is that i was originally concerned
about random shells executing the file when i didn't want them to.
back then, i was only targetting zsh and bash, and therefore
`~/.-shrc` was not yet suitable for any other shells.
nowadays, `~/.-shrc` is has better shell compatibility,
and i'm not actually aware of any shells that would execute
`~/.shrc` by default -- `$ENV` is typically required to be set.
2021-10-29 15:44:31 +02:00
665ebfc9f7 use FAKE_COMPAT on document script 2021-10-29 15:03:02 +02:00
51f4d241b2 ignore backup and completion files in few places 2021-10-14 14:10:02 -07:00
2ae755fff3 $? is implicit 2021-10-05 10:59:05 -07:00
5382da0605 always use local var= instead of local var
blame zsh
2021-09-30 08:43:40 -07:00
4ed1d5f7ac fix executable permissions 2021-09-15 16:46:39 -07:00
15ab667b7d keep one-line docstrings in their own paragraph 2021-08-06 08:18:18 -07:00
7ae8c5681d overhaul script sourcing and dependency system 2021-08-02 13:48:46 -07:00
d0474bf735 leave plain docstring whitespace mostly intact 2021-08-01 02:13:40 -07:00
35a03b364f add regenerate script 2021-08-01 00:37:12 -07:00
7402cee176 support self-documentation 2021-07-31 16:50:21 -07:00
1941e3253d improve ash compatiblity
surprisingly, [:space:] isn't supported, so just use plain spaces.
2021-07-31 16:10:25 -07:00
9a3b92357b use fancier document syntax here too 2021-07-30 19:47:43 -07:00
f73c003e13 write more comments for document 2021-07-30 19:44:19 -07:00
71de686ee9 fix links 2021-07-30 18:08:59 -07:00
fd83d41ab2 add and restore some docstrings 2021-07-30 17:58:07 -07:00
691b8251df add documentation tool (no docstrings yet) 2021-07-30 16:38:54 -07:00