summary refs log tree commit diff
path: root/.local/share/navi/cheats/robertgzr__cheats/gentoo
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/navi/cheats/robertgzr__cheats/gentoo')
-rw-r--r--.local/share/navi/cheats/robertgzr__cheats/gentoo/openrc.cheat17
-rw-r--r--.local/share/navi/cheats/robertgzr__cheats/gentoo/pkg.cheat10
2 files changed, 27 insertions, 0 deletions
diff --git a/.local/share/navi/cheats/robertgzr__cheats/gentoo/openrc.cheat b/.local/share/navi/cheats/robertgzr__cheats/gentoo/openrc.cheat
new file mode 100644
index 0000000..627ff70
--- /dev/null
+++ b/.local/share/navi/cheats/robertgzr__cheats/gentoo/openrc.cheat
@@ -0,0 +1,17 @@
+
+% openrc
+
+# OpenRC service start
+doas rc-service <svc> start
+
+# OpenRC service restart
+doas rc-service <svc> restart
+
+# OpenRC service stop
+doas rc-service <svc> stop
+
+# OpenRC service status
+doas rc-service <svc> status
+
+# OpenRC runlevel change
+doas rc <runlevel>
diff --git a/.local/share/navi/cheats/robertgzr__cheats/gentoo/pkg.cheat b/.local/share/navi/cheats/robertgzr__cheats/gentoo/pkg.cheat
new file mode 100644
index 0000000..6bfe040
--- /dev/null
+++ b/.local/share/navi/cheats/robertgzr__cheats/gentoo/pkg.cheat
@@ -0,0 +1,10 @@
+
+% gentoo, eix
+
+# list installed pkgs
+
+eix-installed -a
+
+# list installed unstable pkgs
+
+eix-installed -a | grep 9999