1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-13 20:29:02 -08:00
Commit graph

484 commits

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