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

295 commits

Author SHA1 Message Date
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