aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall2
-rw-r--r--shellrc6
2 files changed, 8 insertions, 0 deletions
diff --git a/install b/install
index 9f71b27..c929ab7 100755
--- a/install
+++ b/install
@@ -48,6 +48,8 @@ inst() {
doinst $1 $2
}
+# TODO if on archlinux install pkgstats
+
read -p "Install Bashrc? (Y/n) "
if [[ $REPLY =~ ^[Yy]?$ ]]; then
inst bashrc ~/.bashrc
diff --git a/shellrc b/shellrc
index ab68f31..eeaae29 100644
--- a/shellrc
+++ b/shellrc
@@ -32,6 +32,12 @@ alias vimp='vim -c "call InitPython()"'
alias vims='vim -c "call InitBash()"'
alias i='i3-msg'
+# Systemd aliases
+alias sctl='sudo systemctl'
+alias usctl='systemctl --user'
+alias jrn='journalctl'
+alias ujrn='jrn --user'
+
genpasswd() {
local l=$1
if [ "$l" = "" ]; then l=16; fi