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

409 commits

Author SHA1 Message Date
3faa5e6d99 note compatibility for witch 2022-09-01 18:58:31 -07:00
608136840f fix executable permissions 2022-09-01 18:39:19 -07:00
227ec01a25 fix dumb typo 2022-09-01 18:36:57 -07:00
1d0667c52b make grop its own shell script 2022-09-01 18:28:14 -07:00
2c3ea77cf7 add grop4 utility for isolating IPv4s 2022-09-01 18:16:58 -07:00
84e8ae03ec add scount utility/shorthand 2022-09-01 18:01:09 -07:00
1bfe18c03f add Debian which but call it witch instead 2022-09-01 17:48:14 -07:00
07c2d3809c support cosmopolitan perl in shelly 2022-08-29 22:08:09 -07:00
ba2982b880 configure a proper dark-mode background for ghmd 2022-08-29 22:04:58 -07:00
5264b1a037 refine laptop audio compressor 2022-04-12 04:13:11 -07:00
ba45b4f10f more laptop speaker fudgery
this still sucks but i'm working on it
2022-04-12 12:28:20 +02:00
fb6fc670b4 restore ytdl-format flags that i forgot 2022-04-12 12:27:58 +02:00
2854cb6404 redo laptop EQ 2022-04-06 13:45:18 +02:00
ab1c9da4a6 fix typo 2022-03-18 04:26:30 -07:00
eaa94d66b9 localize iterator variables
see commit 7d895d2
2022-03-06 13:13:40 -08:00
90038bf996 allow numbers to end with a comma in the sum command
makes it easier to paste stuff into the terminal
2022-03-05 17:41:17 -08:00
7d895d20a7 work around a really obtuse zsh quirk with numeric types
i should do this for the rest of the loops in the other files too.
2022-03-05 17:39:44 -08:00
6dbd087670 add ytdl command to run whatever's available 2022-01-08 21:16:14 -08:00
032567cce0 move padding out of body so bg color applies correctly 2021-12-07 20:44:07 -08:00
5cda41a841 bypass ytdl-format checks for now (no longer an issue?) 2021-12-02 13:06:31 -08:00
803a77d27b add WHEE global alias for C++ flags 2021-12-02 13:06:05 -08:00
de2d15c869 tweak colors2; dedicate headers to background colors 2021-11-03 07:58:47 -07:00
d7089c2ff4 fix executable permissions 2021-10-30 20:52:58 +02:00
a0c83289e3 add shelly as a weird hack for invoking interactive shells 2021-10-29 16:06:44 +02: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
00064c6f89 ignore CVS directores in decently 2021-10-29 12:25:12 +02:00
a78187b435 add another script to dump colors in a different order 2021-10-22 18:27:21 +02:00
2fb9bbe24f add some scripts that act on shell variables
these are kinda experimental.
2021-10-22 18:25:33 +02:00
890254b5ba allow multiple arguments to dated 2021-10-18 17:50:01 -07:00
e5c8fea542 add dated util to handle epoch timestamps
because i'm lazy
2021-10-18 02:49:39 -07:00
0f03547548 mark preload as compatible with all 4 shells 2021-10-14 14:30:39 -07:00
447695ba19 add some notes to self 2021-10-14 14:10:18 -07:00
fb6e128a55 add some excessive youtube-dl checks
what a mess
2021-10-14 14:10:18 -07:00
51f4d241b2 ignore backup and completion files in few places 2021-10-14 14:10:02 -07:00
444c34f98e rename has to have; has is now silent
i'm not sure why i was overengineering this function so much,
but the code i deleted might still come in handy someday.
2021-10-14 13:58:55 -07:00
45501f7e73 document and attribute *archive utilities 2021-10-14 13:54:41 -07:00
e0c3005f50 mark a couple more tools for renaming 2021-10-13 23:52:25 -07:00
45d888d866 change argc interface (now $# comes first instead of $@) 2021-10-13 23:06:55 -07:00
e6e0283c20 don't return nonzero in morecolors 2021-10-13 21:22:56 -07:00
590b5618b2 fix executable permissions 2021-10-13 21:21:39 -07:00
3d11a57c4c remove docs for ytg functions (for now?) 2021-10-13 20:53:10 -07:00
899684f3ce properly ignore --ytdl-format and warn about it 2021-10-13 20:42:04 -07:00
2417352229 distinguish names from flags in has 2021-10-13 20:22:10 -07:00
e522d065bf support hyphens in command names passed to has 2021-10-13 19:58:52 -07:00
716d74ade2 prefer yt-dlp over youtube-dl and work around throttling 2021-10-12 20:25:03 -07:00
b2b6b9fa30 fix handling of root directory 2021-10-11 19:53:46 -07:00
06647c9d66 more work on fixing up e 2021-10-11 19:48:31 -07:00
d2c686123e rewrite e, fixing bugs and improving compatibility
this also adds a `running` command that isn't quite finished.
2021-10-11 15:12:59 -07:00
99fa691e1b exit early if dd fails 2021-10-09 09:08:28 -07:00
cdd044cb0b accelerate decently with ls sorting and ignore more stuff 2021-10-08 14:31:20 -07:00
f0fedca16f detect size with stty size instead of tput 2021-10-07 13:17:26 -07:00
38cd399bcf fix handling of directory names starting with a hyphen 2021-10-07 13:05:39 -07:00
aa1686cf10 only refresh screen as necessary, and omit (non-parent) merged commits 2021-10-07 12:32:32 -07:00
76415f4742 use shell expansions instead of piping into cut 2021-10-07 11:03:49 -07:00
cfd3c2b18b simplify character whitelist using built-in shell expansions 2021-10-07 10:57:31 -07:00
a7ff1eb658 more work on glug; new g and G commands 2021-10-05 21:02:06 -07:00
b4f8e0eae2 add glug utility for quickly diffing git logs (WIP) 2021-10-05 18:15:27 -07:00
2ae755fff3 $? is implicit 2021-10-05 10:59:05 -07:00
b34bb36329 update scropt (though it's still untested) 2021-10-05 10:58:03 -07:00
581fd63321 default ghmd to generic shell instead of zsh 2021-10-05 09:31:38 -07:00
d3dc8c5a91 begin marking busybox compatibility 2021-10-04 17:06:45 -07:00
869df527ec increase number of fzy lines in ff 2021-10-04 17:05:43 -07:00
ac88e80c60 check slit/slitt arguments 2021-10-01 12:40:27 -07:00
ff6489bff5 improve busybox awk compatibility 2021-10-01 12:39:25 -07:00
c53605031a fix a local var that i missed 2021-10-01 11:00:09 -07:00
d300d3af84 ignore .git subdirectories, tiny refactor 2021-10-01 10:32:10 -07:00
5c3dc32409 add "decently" utility 2021-10-01 08:28:03 -07:00
7e6e48f82d rename _REMOTE_ to EA_ 2021-10-01 04:13:49 -07:00
ff23fd3075 add morecolors 2021-10-01 04:02:49 -07:00
ea30451802 rewrite pacman-list-disowned, rename to disowned 2021-09-30 08:53:31 -07:00
5382da0605 always use local var= instead of local var
blame zsh
2021-09-30 08:43:40 -07:00
3e9e80de15 don't use set -e 2021-09-30 08:33:49 -07:00
1196225de8 rewrite 'has' function 2021-09-30 08:29:28 -07:00
e45d80b8b0 improve interval check 2021-09-29 06:14:02 -07:00
9226936571 check that interval is positive 2021-09-29 05:03:06 -07:00
a5383d98db rewrite minutemaid documentation 2021-09-29 04:51:37 -07:00
bd81dc0b28 reformat archive scripts to better fit in 2021-09-28 13:41:55 -07:00
bf684554e6 update archive scripts from prezto 2021-09-28 13:21:05 -07:00
cc4d682c9c remove cdbusiest and rename dbusiest to busiest 2021-09-28 13:14:07 -07:00
4dbafc41ca update oxo example 2021-09-28 13:01:04 -07:00
497160fb7e remove some ancient/broken scripts 2021-09-28 12:58:45 -07:00
f15ff1c965 fix leaky reads and add argc checking 2021-09-28 12:41:44 -07:00
9bac51b1a6 fix redirection inconsistencies across shells 2021-09-28 12:41:21 -07:00
3e088817d3 add "nocorrect" to ignored words in wat 2021-09-25 04:09:44 -07:00
e0aac93c38 rewrite confirm and pause to improve compatibility and consistency 2021-09-25 00:17:35 -07:00
0d7c321363 print total files in oxo's epilogue to reduce confusion 2021-09-24 19:59:09 -07:00
a3dc131383 fix isup's hashbang 2021-09-24 19:58:19 -07:00
6e0b1029f9 fix bash syntax errors 2021-09-23 07:37:47 -07:00
552ddc6080 flesh out some compatibility stuff i forgot 2021-09-23 07:15:19 -07:00
e2f7fddb60 patch up sram script to be a little less crappy 2021-09-23 07:03:24 -07:00
3f476697d4 add some insanity to mpv_watch 2021-09-23 06:53:12 -07:00
1408a227c5 rewrite getladspa 2021-09-23 06:52:40 -07:00
112a7a6d63 flesh out the compatibility table 2021-09-23 06:48:05 -07:00
eaf2cc00e2 update audio filtering crap 2021-09-22 20:19:03 -07:00
dde18c8e48 remove conditional colors on success message 2021-09-16 22:52:57 -07:00
99b2991838 compute number of failures instead of keeping track 2021-09-16 22:48:20 -07:00
545ab4bb5d only copy files if they contain troublesome characters 2021-09-16 22:40:13 -07:00
43813a2cd8 fix retention equation (just the comment) 2021-09-16 14:32:38 -07:00
88d6a18653 reduce indentation 2021-09-16 13:35:44 -07:00
d6ca35b4d1 skip files larger than 512 MiB 2021-09-16 13:08:06 -07:00
76a8a8396a fix a stupid typo 2021-09-15 23:02:41 -07:00
0c1cf6ff31 fix a printf 2021-09-15 22:43:10 -07:00
35ff5d478b add oxo (0x0.st utility) 2021-09-15 22:03:05 -07:00
4ed1d5f7ac fix executable permissions 2021-09-15 16:46:39 -07:00
70ea90f81f fix some broken stuff in cutv 2021-09-11 10:38:30 -07:00
eab52be2dc add missing -- switch to an mpv wrapper 2021-08-23 04:53:13 -07:00
a0d1feaf29 allow baknow to take multiple file arguments 2021-08-23 04:52:39 -07:00
dce4a25f12 make sortip its own script 2021-08-23 04:51:42 -07:00
15ab667b7d keep one-line docstrings in their own paragraph 2021-08-06 08:18:18 -07:00
ab8a239df0 add shcom utility 2021-08-02 23:29:29 -07:00
2d29d97920 mark stfu as compatible with all four shells 2021-08-02 23:19:06 -07:00
f640fbb4b0 allow specification of tail parameter in stfu 2021-08-02 21:47:34 -07:00
addf7d1070 just conditionally source preload() instead of inlining it
also try out argc in stfu
2021-08-02 14:09:27 -07:00
d44da54b36 add some pretty lame security checks to stfu 2021-08-02 13:49:38 -07:00
7ae8c5681d overhaul script sourcing and dependency system 2021-08-02 13:48:46 -07:00
9a6ff26e1c update documentation, especially overridden names 2021-08-02 06:50:45 -07:00
d1095a192e improve isup compatiblity 2021-08-02 06:07:33 -07:00
d6300c4578 make rot13 its own function, document 2021-08-01 19:34:45 -07:00
c152abaca1 fix trash example 2021-08-01 11:04:20 -07:00
235c9d9ce2 add xxp utility 2021-08-01 10:43:34 -07:00
3728a9d448 rewrite ea 2021-08-01 10:29:38 -07:00
b027daf9cf update a bunch of documentation 2021-08-01 09:45:19 -07:00
92bdf76405 document a ton of stuff 2021-08-01 09:30:41 -07:00
e20d2557c9 document echo2 2021-08-01 08:41:31 -07:00
364a0eff66 document dfu 2021-08-01 08:36:35 -07:00
14677b3acf document dbusiest 2021-08-01 08:33:53 -07:00
fb3e50f168 remove old TODO 2021-08-01 08:29:14 -07:00
2ed98b5187 update cutv 2021-08-01 08:28:21 -07:00
209bed34cc document countdiff 2021-08-01 08:27:36 -07:00
7aeda2d105 restore old examples for compile function 2021-08-01 08:23:00 -07:00
2c1220e6d1 update and document setup_clang_ubuntu 2021-08-01 08:22:39 -07:00
208dc56791 document colors function 2021-08-01 08:14:40 -07:00
cefcd1779e add an example for cdbusiest 2021-08-01 08:07:55 -07:00
549f0b3a00 fix nasty bugs in bak 2021-08-01 08:04:17 -07:00
19e12cee88 document backup functions 2021-08-01 07:58:21 -07:00
6cacda28df add an example for aur 2021-08-01 07:41:00 -07:00
5d57d6daf4 document argc 2021-08-01 07:36:53 -07:00
d47c10c0ca document arithmetic utilities 2021-08-01 07:33:28 -07:00
c7ce0464cf document sv 2021-08-01 07:20:03 -07:00
0b05eaa4b5 document sum 2021-08-01 07:10:40 -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
32adb96aee rewrite argc with a new interface 2021-07-31 23:32:43 -07:00
8f3455f684 add simple argc-checking utility
this will be replaced in the next commit
because i just thought of a better interface.
2021-07-31 22:49:51 -07:00
e46e3769d1 add argc-checking and don't rely on shell expansion 2021-07-31 21:46:41 -07:00
51e0ddc46f use single brackets and stuff here too 2021-07-31 21:27:31 -07:00
20a25d7e37 remove some flags in preference of using mpv.conf 2021-07-31 21:16:22 -07:00
7402cee176 support self-documentation 2021-07-31 16:50:21 -07:00
1cc9a75b29 add comments and dummy docstrings 2021-07-31 16:15:27 -07:00