aboutsummaryrefslogtreecommitdiff
path: root/shellrc
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2016-09-02 17:11:50 +0200
committerKarel Kočí <karel.koci@nic.cz>2016-09-02 17:11:50 +0200
commit32d4f95cbf0121dd9092ff1995b3baa064c00162 (patch)
tree3d34315af331b99304f26c2ff74d17e943d632ae /shellrc
parent92f04daed707d4d614044b25e80327ab98d4c071 (diff)
downloadmyconfigs-32d4f95cbf0121dd9092ff1995b3baa064c00162.tar.gz
myconfigs-32d4f95cbf0121dd9092ff1995b3baa064c00162.tar.bz2
myconfigs-32d4f95cbf0121dd9092ff1995b3baa064c00162.zip
Add systemd aliases
Diffstat (limited to 'shellrc')
-rw-r--r--shellrc6
1 files changed, 6 insertions, 0 deletions
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