linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
commit deb66336620b4239347a2b8ae2e3fc13c9f7670d parent b1dacace958e50e2fb0c2dceb39baf0f030b2843 Author: Jul <jul@9o.is> Date: Wed, 17 Sep 2025 23:45:42 +0800 move .rcrc path to .config/rc/rc Diffstat:
| M | pkg/rc/patch/0001-modify-output-path-in-mksignal.patch | | | 2 | +- |
| A | pkg/rc/patch/0002-move-.rcrc-path-to-.config-rc-rc.patch | | | 57 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 58 insertions(+), 1 deletion(-)
diff --git a/pkg/rc/patch/0001-modify-output-path-in-mksignal.patch b/pkg/rc/patch/0001-modify-output-path-in-mksignal.patch @@ -1,4 +1,4 @@ -From 21e4c8c1047bc1b25a16ab014a035ae7ebc6945f Mon Sep 17 00:00:00 2001 +From cb5abfef73d17a10d301c71fdac16760b8f3b6e1 Mon Sep 17 00:00:00 2001 From: Jul <jul@qh.is> Date: Sat, 13 Sep 2025 20:10:52 +0800 Subject: [PATCH] modify output path in mksignal diff --git a/pkg/rc/patch/0002-move-.rcrc-path-to-.config-rc-rc.patch b/pkg/rc/patch/0002-move-.rcrc-path-to-.config-rc-rc.patch @@ -0,0 +1,57 @@ +From c247e1593adc0f9245882f76802f854f6fabca04 Mon Sep 17 00:00:00 2001 +From: Jul <jul@qh.is> +Date: Wed, 17 Sep 2025 23:42:18 +0800 +Subject: [PATCH] move ~/.rcrc path to ~/.config/rc/rc + +--- + main.c | 2 +- + rc.1 | 6 +++--- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/main.c b/main.c +index b1e9324..043f552 100644 +--- a/main.c ++++ b/main.c +@@ -105,7 +105,7 @@ quitopts: + char *rcrc; + int fd; + +- rcrc = concat(varlookup("home"), word("/.rcrc", NULL))->w; ++ rcrc = concat(varlookup("home"), word("/.config/rc/rc", NULL))->w; + fd = rc_open(rcrc, rFrom); + if (fd == -1) { + if (errno != ENOENT) +diff --git a/rc.1 b/rc.1 +index 27ac33d..99900cb 100644 +--- a/rc.1 ++++ b/rc.1 +@@ -279,7 +279,7 @@ then + .I rc + will behave as a login shell. + That is, it will run commands from +-.Cr $home/.rcrc , ++.Cr $home/.config/rc/rc , + if this file exists, before reading any other input. + .TP + .Cr \-n +@@ -1397,7 +1397,7 @@ The default directory for the builtin + command, and the directory in which + .I rc + looks to find its initialization file, +-.Cr .rcrc , ++.Cr .config/rc/rc , + if + .I rc + has been started up as a login shell. +@@ -2149,7 +2149,7 @@ optnl: /* empty */ | optnl '\en' + .ft R + .De + .SH FILES +-.Cr $HOME/.rcrc , ++.Cr $HOME/.config/rc/rc , + .Cr /tmp/rc* , + .Cr /dev/null + .SH CREDITS +-- +2.50.1 +