aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-09-03 15:58:42 +0200
committerKarel Kočí <cynerd@email.cz>2016-09-03 15:58:42 +0200
commitaf73156bb1d79a5f09b391337872d05c61dbf2dc (patch)
treefd8e10f02fd485d81efcf399087de0ebb86b03f6
parent2be4e1801bda12baa08dbbe022729181b18df5f3 (diff)
parent32d4f95cbf0121dd9092ff1995b3baa064c00162 (diff)
downloadmyconfigs-af73156bb1d79a5f09b391337872d05c61dbf2dc.tar.gz
myconfigs-af73156bb1d79a5f09b391337872d05c61dbf2dc.tar.bz2
myconfigs-af73156bb1d79a5f09b391337872d05c61dbf2dc.zip
Merge remote-tracking branch 'origin/master'
-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