1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-18 17:53:23 -07:00
Commit Graph

472 Commits

Author SHA1 Message Date
Connor Olding 716d74ade2 prefer yt-dlp over youtube-dl and work around throttling 2021-10-12 20:25:03 -07:00
Connor Olding fe7dff6403 ignore backup files when sourcing from zsh 2021-10-12 20:23:16 -07:00
Connor Olding c0586e4442 rename an autocmd group 2021-10-09 09:07:40 -07:00
Connor Olding dc777c3c54 use / instead of _ for tmux substitute command
this wasn't working on ubuntu 18.04, so i had to change it.
honestly, i'm not entirely convinced that this will fix it.
2021-10-08 20:38:16 -07:00
Connor Olding fd8b6d55ee move some compinit-related comments 2021-10-07 12:31:39 -07:00
Connor Olding 75b41b6f78 setopt to remove duplicates from histfile 2021-10-07 12:31:06 -07:00
Connor Olding ba43bc0bf5 add and redo some vim binds 2021-10-07 12:30:41 -07:00
Connor Olding 831fd91862 add autocmds for oldschool forth "screen" files 2021-10-07 12:30:00 -07:00
Connor Olding 44af28ca58 add custom hashbang-handling autocmd for my own sanity 2021-10-07 12:29:19 -07:00
Connor Olding efd4ab0f0c lift some handy vim functions 2021-10-07 12:28:40 -07:00
Connor Olding 26c2863dde move tmux stuff further up 2021-10-07 12:28:06 -07:00
Connor Olding 9f3301aa95 superficial style tweak 2021-10-07 12:27:19 -07:00
Connor Olding f7c85ae9e5 add gdp command to diff a single commit 2021-10-07 12:26:41 -07:00
Connor Olding 7befe5065a fix escape sequence for shift+del 2021-10-06 19:26:20 -07:00
Connor Olding 6d1523035a add descriptions for picky/unused 2021-10-06 19:24:52 -07:00
Connor Olding 8afc44fb74 add -c to less flags
so that output begins at the top of the terminal instead of just anywhere.
2021-10-05 18:12:25 -07:00
Connor Olding fa91b04bdd experiment with not using compinit 2021-10-01 06:04:30 -07:00
Connor Olding 223f3a329c update LS_COLORS 2021-10-01 06:03:57 -07:00
Connor Olding 7e6e48f82d rename _REMOTE_ to EA_ 2021-10-01 04:13:49 -07:00
Connor Olding 4f915fc802 misc cleanup 2021-09-30 08:47:00 -07:00
Connor Olding 5382da0605 always use local var= instead of local var
blame zsh
2021-09-30 08:43:40 -07:00
Connor Olding a9b8f311a3 check for lr instead of just guessing 2021-09-30 08:31:58 -07:00
Connor Olding 1196225de8 rewrite 'has' function 2021-09-30 08:29:28 -07:00
Connor Olding 1bd6f41be5 make this a proper switch-case 2021-09-27 19:22:10 -07:00
Connor Olding d87a81e147 make this a proper local variable 2021-09-27 19:20:06 -07:00
Connor Olding ad6df3012f prepend nocorrect/noglob to existing alises 2021-09-25 19:09:30 -07:00
Connor Olding 7dcead233f rewrite picky and unused 2021-09-25 18:48:35 -07:00
Connor Olding 78404d2614 remember more commands and use tabs for .gitconfig 2021-09-25 04:19:56 -07:00
Connor Olding ee14017d06 give -shrc some much-needed lovin'
also source ~/.lol from bashrc
2021-09-25 04:09:34 -07:00
Connor Olding 6af14909fb superficial tweaks 2021-09-25 00:33:25 -07:00
Connor Olding a7ba31454c use a plain prompt with ash 2021-09-25 00:33:11 -07:00
Connor Olding 6e0b1029f9 fix bash syntax errors 2021-09-23 07:37:47 -07:00
Connor Olding 30ae57a1e0 enable hist_reduce_blanks 2021-09-23 06:49:54 -07:00
Connor Olding 9dc69caebd enable tmux history and add nonzero exit command 2021-09-23 06:45:17 -07:00
Connor Olding 75887e610d add some overdue binds and fix dummy binds 2021-09-22 20:12:28 -07:00
Connor Olding 2ca1189470 trim Windows-style paths in tmux window names 2021-09-21 21:38:54 -07:00
Connor Olding aafacd2a28 update minttyrc 2021-09-18 17:26:30 -07:00
Connor Olding 0517d9b6a1 start using site-local stuff (called "lol" for now) 2021-09-15 22:43:45 -07:00
Connor Olding 17dfc77fba allow Windows-style absolute paths with ADDPATH 2021-09-10 09:30:31 -07:00
Connor Olding a00a4a057f add some much-needed comments about .sh 2021-09-10 09:26:32 -07:00
Connor Olding dce4a25f12 make sortip its own script 2021-08-23 04:51:42 -07:00
Connor Olding 15ab667b7d keep one-line docstrings in their own paragraph 2021-08-06 08:18:18 -07:00
Connor Olding 7ae8c5681d overhaul script sourcing and dependency system 2021-08-02 13:48:46 -07:00
Connor Olding 752dc2a605 attempt to deal with netrw's absurdity, also add more binds 2021-08-02 13:43:52 -07:00
Connor Olding 9a6ff26e1c update documentation, especially overridden names 2021-08-02 06:50:45 -07:00
Connor Olding d6300c4578 make rot13 its own function, document 2021-08-01 19:34:45 -07:00
Connor Olding c295d2b495 allow invocation of shell functions from vim 2021-08-01 11:31:05 -07:00
Connor Olding 3728a9d448 rewrite ea 2021-08-01 10:29:38 -07:00
Connor Olding db0b029d0f don't cut sha1 file 2021-08-01 01:37:59 -07:00
Connor Olding 44f3854256 disable bells in bash
long time coming
2021-07-31 20:47:11 -07:00
Connor Olding 1941e3253d improve ash compatiblity
surprisingly, [:space:] isn't supported, so just use plain spaces.
2021-07-31 16:10:25 -07:00
Connor Olding 74ec57f2fa use fancier document syntax here 2021-07-30 18:14:05 -07:00
Connor Olding fd83d41ab2 add and restore some docstrings 2021-07-30 17:58:07 -07:00
Connor Olding 04e5cce6dd set -shrc's hashbang to false 2021-07-30 12:37:31 -07:00
Connor Olding 56a5724160 use in-place arithmetic where applicable 2021-07-29 10:40:15 -07:00
Connor Olding aaa15067b8 remove trace comments from rc files 2021-07-29 07:42:50 -07:00
Connor Olding 7e5b09b6c7 remove debug echoes from rc files 2021-07-29 07:39:19 -07:00
Connor Olding 1c562ad0f9 automatically source compatible scripts in bash 2021-07-29 07:26:45 -07:00
Connor Olding 5eaf74401e overhaul 2021-07-29 00:37:35 -07:00
Connor Olding 4adbbb0e27 a bunch of minor stuff before i start refactoring 2021-07-22 00:30:05 +02:00
Connor Olding d561fe4ffb add function keyword to shut up zsh 2021-07-04 14:13:18 +02:00
Connor Olding 6ead9babd3 move noglob/nocorrect to the bottom to fix issues 2021-07-04 14:08:52 +02:00
Connor Olding 5b8791e82f add another unholy abomination 2021-06-20 05:28:32 +02:00
Connor Olding 431cb9a10d shorten "execute" to "exec" 2021-06-20 05:25:41 +02:00
Connor Olding f4d511a087 add a few aliases 2021-06-20 05:25:17 +02:00
Connor Olding 2e0e1db709 add broken binds to zshrc (commented out) 2021-01-13 01:40:03 +01:00
Connor Olding 265cdde25b update noglob list 2021-01-13 01:39:41 +01:00
Connor Olding 904abfaa71 update minttyrc 2021-01-08 17:04:42 +01:00
Connor Olding 443c9a207e minor fixes 2020-12-31 09:22:27 +01:00
Connor Olding d35c492850 NixOS compatibility
* use /usr/bin/env for all hashbangs
* enable hashall for bash
* workaround syntax error in -shrc for bash
2020-12-29 18:04:04 +01:00
Connor Olding 0be55777ee add missing quotes 2020-11-23 07:32:38 +01:00
Connor Olding 52cb405534 update LS_COLORS 2020-11-05 17:34:56 +01:00
Connor Olding 880ac92f05 split LS_COLORS into its own file 2020-11-05 17:34:48 +01:00
Connor Olding ba45865aa0 don't scan every file with vim's autocomplete
i never use this anyway, so this saves me time
whenever i accidentally activate it.
2020-11-05 17:11:50 +01:00
Connor Olding 148a9fa5b6 add stfu command and its prerequisites 2020-11-05 17:09:49 +01:00
Connor Olding fb5356deb2 add eashare command for convenience 2020-11-05 17:09:20 +01:00
Connor Olding 382746f7c7 add curls alias (semi-silent curl) 2020-11-05 07:48:00 +01:00
Connor Olding 748f41336c remove aliases for deleted logs command 2020-09-03 18:00:16 +02:00
Connor Olding fec9a8391b add simple backup functions 2020-08-26 08:37:45 +02:00
Connor Olding 438d36a8f1 restore ash compatibility 2020-08-26 08:37:28 +02:00
Connor Olding 1b6bb206f8 add pegg command to pip install from github 2020-08-15 22:39:02 +02:00
Connor Olding 39f81daa86 use py alias within pippy alias 2020-08-15 22:38:15 +02:00
Connor Olding c098bbfb14 fix issues with video IDs containing hyphens 2020-08-12 23:16:40 +02:00
Connor Olding 0382553f3b update LS_COLORS 2020-07-24 11:43:51 +02:00
Connor Olding 9c3629951b disable fasd
i forgot it was enabled and it slows down prompts quite a bit
2020-07-24 11:43:34 +02:00
Connor Olding fec561d898 simplify ytg 2020-07-24 11:42:14 +02:00
Connor Olding 8b27c575d3 add sortip alias 2020-07-24 11:41:22 +02:00
Connor Olding 2509e818c0 attempt to fix arrow keys, etc. once more 2020-06-25 08:16:54 -07:00
Connor Olding 79029eb4fc windows nonsense 2020-03-07 21:29:28 -08:00
Connor Olding 420de2b939 fix ytdl argument format 2020-03-07 21:29:11 -08:00
Connor Olding f7785b0f59 run pip with maybesudo 2019-12-29 05:02:33 -08:00
Connor Olding 9071e4b37d add sum function 2019-12-27 16:00:29 -08:00
Connor Olding 48a0146e52 soften compressor settings for asmr 2019-12-20 06:30:42 -08:00
Connor Olding 3a3c8d98de tweak and fix youtube-dl formats again 2019-12-20 06:26:00 -08:00
Connor Olding a74b185559 enable force-window for mpv 2019-10-07 20:44:00 -07:00
Connor Olding d034bc8a31 slightly reduce audio processing settings 2019-10-07 20:44:00 -07:00
Connor Olding 38b8bcf386 preserve timestamps on downloaded files 2019-09-30 06:15:03 +02:00
Connor Olding 1f7e213661 move speaker EQ into its own variable 2019-09-04 12:14:21 +02:00
Connor Olding d07adaf621 fix ctrl+arrows in tmux+vim 2019-07-29 02:54:22 -07:00
Connor Olding 9f3d4ef0ef don't include a/b prefixes in diff command 2019-07-29 02:54:22 -07:00
Connor Olding 00c057a1f1 set pager 2019-07-13 08:29:56 -07:00
Connor Olding 30d4fe57cd remove some stuff that does more harm than good 2019-07-13 08:29:56 -07:00
Connor Olding 7df579c722 add "bad" 4-space tab mode 2019-06-30 16:42:13 -07:00
Connor Olding b2694395c5 tweak compressor settings and clean up 2019-06-22 14:24:51 -07:00
Connor Olding bbd06ac340 many tmux tweaks 2019-06-13 03:48:02 -07:00
Connor Olding 7e6e46813e restore crawl aliases 2019-06-12 18:16:51 -07:00
Connor Olding 075d449b19 clean up and reorganize 2019-06-12 18:11:23 -07:00
Connor Olding 14e928e589 remove exts and freq
i never use these
2019-06-12 17:55:56 -07:00
Connor Olding b8eb706746 remove RPROMPT
i added this many years ago so i could
repeat commands by their history number,
but i've never once done that.
2019-06-11 03:17:22 -07:00
Connor Olding b40332faa8 subtitute control character with escape code 2019-06-08 09:52:31 -07:00
Connor Olding be13098d1a borrow completions from prezto
at least until i can bother to fix my own
2019-06-08 01:47:55 -07:00
Connor Olding 45c74a4521 remove old thing obsoleted by dirup 2019-06-07 01:47:52 -07:00
Connor Olding 2ebcfd030e don't double-space it 2019-06-07 01:47:44 -07:00
Connor Olding 479c57fdd7 remove old, rarely used vim stuff 2019-06-06 01:19:35 -07:00
Connor Olding ca1265508d make CMake ignores more specific 2019-06-05 21:50:02 -07:00
Connor Olding 62c589d5bb detect color flags 2019-06-05 21:49:21 -07:00
Connor Olding 1a56ff5b93 fix unicode in tmux 2019-06-05 20:53:38 -07:00
Connor Olding 6a9c108b70 add dummy precmd 2019-06-05 20:43:50 -07:00
Connor Olding 5648ee5c92 cancel out of copy-mode after Shift+End 2019-06-05 19:11:48 -07:00
Connor Olding 5d81bc00a1 alias :W to :w in vim
this was a long time coming
2019-06-05 19:09:25 -07:00
Connor Olding 8c4f76a583 handle Home and End keys 2019-06-05 19:09:14 -07:00
Connor Olding 97663248ba set tmux copy-mode color to match status bar 2019-06-05 19:07:55 -07:00
Connor Olding 4744d3dc5d fix timezone in tmux 2019-06-05 17:52:11 -07:00
Connor Olding 019158a65b tweak tmux appearance 2019-06-05 17:41:25 -07:00
Connor Olding e3189ed7ee messing around with mintty's appearance
50 rows - status line of tmux - status line of vim = 48 lines of code
84 columns - line number column of vim = 80 columns of code (same as before)
2019-06-05 17:01:38 -07:00
Connor Olding ba23dc008d hardcode escape codes into zsh prompt 2019-06-05 16:52:02 -07:00
Connor Olding bc1758f51e handle tmux sessions better 2019-06-05 16:51:30 -07:00
Connor Olding 5272288a75 source /etc/profile by hand
apparently other shells do this but zsh doesn't? whatever
2019-06-05 16:10:43 -07:00
Connor Olding 6d64bee7fe start/attach tmux session at login 2019-06-05 16:10:03 -07:00
Connor Olding 1e840bf1be add tmux hacks 2019-06-05 16:08:55 -07:00
Connor Olding 5846da2bd7 add tmux configuration 2019-06-05 16:03:15 -07:00
Connor Olding d00f7c727e temporarily disable this color hack 2019-06-05 13:07:43 -07:00
Connor Olding b89ac3c39d set a more useful TIMEFMT 2019-06-05 12:35:42 -07:00
Connor Olding 882cc002bb add gb alias for listing git branches 2019-06-05 12:35:16 -07:00
Connor Olding d4edd77f5e set color for sabotage host 2019-06-04 06:02:33 +00:00
Connor Olding 1ca9d7ba36 ash compatibility stuff 2019-06-03 09:29:15 -07:00
Connor Olding ad482288fa detect empty LANG 2019-06-03 09:27:01 -07:00
Connor Olding c867b85f95 only use sudo on systems with sudo 2019-06-03 09:26:26 -07:00
Connor Olding 879a666a7a add alias for cryptominisat 2019-05-30 01:27:12 -07:00
Connor Olding 95ad57f9c3 fix youtube-dl format arguments
apparently commas aren't correct?
i could've sworn this was working before.
maybe they changed it recently?
2019-05-30 01:26:28 -07:00
Connor Olding 9cf6a1821c clean up old stuff 2019-05-30 01:25:49 -07:00
Connor Olding 213b2a55f0 automatically initialize fasd 2019-05-30 01:25:23 -07:00
Connor Olding fe7aac7bd7 add new git log alias 2019-05-27 19:13:09 +02:00
Connor Olding 3899dfb8da reword comment 2019-05-27 12:10:54 +02:00
Connor Olding f0b95f54a7 warn about nonexistent paths 2019-05-27 12:09:02 +02:00
Connor Olding 4e895aca79 organize python aliases 2019-05-27 12:03:13 +02:00
Connor Olding 1f292aeda8 clean up MPQ crap and make python alias better
note that removes the unbuffered output flag.
2019-05-27 12:01:47 +02:00
Connor Olding 7af6f81551 this is fine 2019-05-27 11:49:52 +02:00
Connor Olding 3f549cfca4 use two spaces for yices files 2019-05-26 20:54:52 +02:00
Connor Olding 9c4740a070 more youtube video quality stuff 2019-05-26 20:54:34 +02:00