summary refs log tree commit diff
path: root/.local/share/navi/cheats/robertgzr__cheats/gentoo
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-07-29 23:52:39 +0200
committerRobert Günzler <r@gnzler.io>2021-07-29 23:52:39 +0200
commite85d6410af991ec81b847541a48026ae973cde7e (patch)
treef286d3cefa8aac03729f1389fad7803e85152674 /.local/share/navi/cheats/robertgzr__cheats/gentoo
parent5ffcd34f5649a97a966e3dcaafebf2ac87f7897e (diff)
add navi cheats
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