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

57 commits

Author SHA1 Message Date
daae1412d0 fix embarrassing typo 2024-03-25 16:11:17 -07:00
44b0272097 switch from ~/opt/local/bin to ~/.local/bin
this is where systemd already expects things to be,
so this complements the OS instead of fighting it.
2024-03-25 15:32:23 -07:00
bb6215c118 duly noted: readlink -e is not portable. 2024-03-22 20:42:33 -07:00
45f963657c fix error when backing up files in home directory 2024-03-15 19:40:52 -07:00
239c6a2a1e remove mpv config
i'll either handle this myself or specify arguments by shell commands
2024-03-04 10:26:42 -08:00
7e41ababec overhaul install script
this removes some of the directory structure logic (no more `is_empty`)
which isn't ideal, but going forward i'd rather handle it case-by-case.
2024-03-04 09:59:26 -08:00
e9f1cfc121 rewrite compatibility comments 2024-02-24 09:02:36 -08:00
c11d384c1b avoid non-standard local keyword in install script 2022-10-12 23:33:06 +02:00
c0b0cf78ed make install script less noisy by default 2022-10-12 23:12:48 +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
cf51cc62b0 add ~/.prep to do tasks like /etc/profile 2021-10-29 15:04:47 +02:00
62555ae5a1 add a directory indicator to suggested files 2021-10-19 09:11:56 +02:00
2ae755fff3 $? is implicit 2021-10-05 10:59:05 -07:00
9beaeac7cd just use printf everywhere (allows colors anywhere) 2021-09-25 00:58:52 -07:00
6af14909fb superficial tweaks 2021-09-25 00:33:25 -07:00
831536107c add missing argument check 2021-07-31 16:15:07 -07:00
1941e3253d improve ash compatiblity
surprisingly, [:space:] isn't supported, so just use plain spaces.
2021-07-31 16:10:25 -07:00
514b8e80d6 fix typo 2021-07-31 14:12:05 -07:00
9227ade5e8 allow verbosity to be specified on command-line 2021-07-31 14:06:22 -07:00
1e216752b6 add and further improve error handling 2021-07-31 13:56:46 -07:00
762f7ffe35 improve error handling 2021-07-31 13:25:00 -07:00
4000e091a9 use single brackets for file test 2021-07-31 12:59:31 -07:00
2d37ea1135 remove dotless since we're not strictly POSIX anyway 2021-07-31 12:55:35 -07:00
5eaf74401e overhaul 2021-07-29 00:37:35 -07:00
b1f7cdd3f5 add verbosity control to install script 2021-07-22 00:57:07 +02:00
f36a293829 fix and rewrite pseudo-symlink file-finding loops 2021-01-06 22:17:01 +01:00
26445bf490 squash some shellcheck warnings 2021-01-06 20:53:52 +01:00
880ac92f05 split LS_COLORS into its own file 2020-11-05 17:34:48 +01:00
be13098d1a borrow completions from prezto
at least until i can bother to fix my own
2019-06-08 01:47:55 -07:00
394b28d0ba add comment 2019-06-05 19:09:37 -07:00
d6bc56a9c3 rewrite is_empty into install script 2019-06-05 18:24:02 -07:00
9dbfcfe596 tweak messages 2019-06-05 17:11:54 -07:00
e627d7d22a revert change from rm -r to rmdir
rationale: is_empty searches the directory for actual files,
whereas rmdir checks for directories too, so rmdir could fail.
2019-06-05 16:11:10 -07:00
5846da2bd7 add tmux configuration 2019-06-05 16:03:15 -07:00
c8391bac4b crazy compatibility for install script 2019-06-05 13:16:01 -07:00
1ca9d7ba36 ash compatibility stuff 2019-06-03 09:29:15 -07:00
36b40c6466 this is compatible with ash 2019-06-03 15:49:32 +00:00
6642afd752 don't recurse into .vim/bundle, also diagnostics 2019-05-27 10:40:36 -07:00
5e3213249a use UTC for backups too 2019-05-27 10:40:11 -07:00
59503f55c1 use rmdir for empty directories 2019-05-27 11:24:26 +02:00
d86baa61ed remove style configs from installer 2017-11-05 19:07:04 +00:00
2c223f7d99 Revert "don't backup files if they're binary-equivalent"
This reverts commit 9e29489e84.
2017-11-04 06:45:26 -07:00
9e29489e84 don't backup files if they're binary-equivalent 2017-03-29 08:05:51 +00:00
7caa55f2bc add http file stuff; update sc accordingly 2017-03-03 07:36:33 +00:00
48d7bb9f1d add pseudo-softlinks for msys2 and stuff 2016-11-01 15:24:27 -07:00
8effe831ca add Xresources 2016-01-08 08:30:52 -08:00
372bcfc971 Merge branch 'master' of github.com:notwa/rc 2015-12-11 01:07:36 -08:00
e4a1769dfc cygwin crap 2015-12-11 01:06:01 -08:00
844a693a24 remove ssh stuff from install script
i dont feel like ever doing this properly
2015-12-01 23:15:38 -08:00
0fa41698ab sweep up some dead files 2015-05-11 12:48:12 -07:00