summaryrefslogtreecommitdiff
path: root/zscripts/hosts
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-10-18 21:52:28 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-10-18 21:52:28 -0500
commit2dc486fb891e65658dff83ab34ca8878756a6a90 (patch)
tree03b39eb93f38534ab0972beadb770fecbd2243b8 /zscripts/hosts
downloadzsh-2dc486fb891e65658dff83ab34ca8878756a6a90.tar.xz
zsh-2dc486fb891e65658dff83ab34ca8878756a6a90.zip
initial commit
Diffstat (limited to 'zscripts/hosts')
-rwxr-xr-xzscripts/hosts/aliasrc.G3N2.zsh6
l---------zscripts/hosts/aliasrc.T495.zsh1
-rwxr-xr-xzscripts/hosts/aliasrc.desktop.zsh12
-rwxr-xr-xzscripts/hosts/aliasrc.libreX60.zsh11
-rwxr-xr-xzscripts/hosts/aliasrc.voidx250.zsh8
-rwxr-xr-xzscripts/hosts/colors.desktop.zsh9
-rwxr-xr-xzscripts/hosts/colors.voidx250.zsh9
7 files changed, 56 insertions, 0 deletions
diff --git a/zscripts/hosts/aliasrc.G3N2.zsh b/zscripts/hosts/aliasrc.G3N2.zsh
new file mode 100755
index 0000000..8e8d2a5
--- /dev/null
+++ b/zscripts/hosts/aliasrc.G3N2.zsh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Package Management
+alias \
+ e="sudo emerge" \
+
diff --git a/zscripts/hosts/aliasrc.T495.zsh b/zscripts/hosts/aliasrc.T495.zsh
new file mode 120000
index 0000000..6c84487
--- /dev/null
+++ b/zscripts/hosts/aliasrc.T495.zsh
@@ -0,0 +1 @@
+aliasrc.desktop.zsh \ No newline at end of file
diff --git a/zscripts/hosts/aliasrc.desktop.zsh b/zscripts/hosts/aliasrc.desktop.zsh
new file mode 100755
index 0000000..141212f
--- /dev/null
+++ b/zscripts/hosts/aliasrc.desktop.zsh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# Package Management
+alias \
+ d="sudo dnf" \
+ dnf="sudo dnf" \
+
+# Shorten program names
+alias \
+ systemctl="sudo systemctl" \
+ sd="systemctl" \
+
diff --git a/zscripts/hosts/aliasrc.libreX60.zsh b/zscripts/hosts/aliasrc.libreX60.zsh
new file mode 100755
index 0000000..1180171
--- /dev/null
+++ b/zscripts/hosts/aliasrc.libreX60.zsh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Package Management
+alias \
+ apt="sudo apt" \
+
+# Shorten program names
+alias \
+ systemctl="sudo systemctl" \
+ sd="systemctl" \
+
diff --git a/zscripts/hosts/aliasrc.voidx250.zsh b/zscripts/hosts/aliasrc.voidx250.zsh
new file mode 100755
index 0000000..4bb85ea
--- /dev/null
+++ b/zscripts/hosts/aliasrc.voidx250.zsh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Package Management
+alias \
+ xi="sudo xbps-install" \
+ xq="xbps-query -R --search" \
+ xr="sudo xbps-remove" \
+
diff --git a/zscripts/hosts/colors.desktop.zsh b/zscripts/hosts/colors.desktop.zsh
new file mode 100755
index 0000000..dee7ed3
--- /dev/null
+++ b/zscripts/hosts/colors.desktop.zsh
@@ -0,0 +1,9 @@
+#!/usr/bin/env zsh
+
+if [ -n "$DISPLAY" ]; then
+ declare col{br,at}=57
+ declare col{name,host}=13
+ coldir=129
+else
+ declare col{br,name,at,host,dir}=magenta
+fi
diff --git a/zscripts/hosts/colors.voidx250.zsh b/zscripts/hosts/colors.voidx250.zsh
new file mode 100755
index 0000000..910f1f9
--- /dev/null
+++ b/zscripts/hosts/colors.voidx250.zsh
@@ -0,0 +1,9 @@
+#!/usr/bin/env zsh
+
+if [ -n "$DISPLAY" ]; then
+ declare col{br,at}=green
+ declare col{name,host}=76
+ coldir=40
+else
+ declare col{br,name,at,host,dir}=green
+fi