summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/zshrc
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-12 09:15:32 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-12 09:15:32 +0100
commit927ca1fc166f3bdb0d9f52c55c33f975ce9e8da7 (patch)
tree743d1535a692e7649e889c3baaee7e30db83e611 /accounts/gkleen@sif/zshrc
parentbd3ad2e1b6c4b629aca3a7d04ea7483d2625f904 (diff)
downloadnixos-927ca1fc166f3bdb0d9f52c55c33f975ce9e8da7.tar
nixos-927ca1fc166f3bdb0d9f52c55c33f975ce9e8da7.tar.gz
nixos-927ca1fc166f3bdb0d9f52c55c33f975ce9e8da7.tar.bz2
nixos-927ca1fc166f3bdb0d9f52c55c33f975ce9e8da7.tar.xz
nixos-927ca1fc166f3bdb0d9f52c55c33f975ce9e8da7.zip
gkleen@sif: systemctl aliases
Diffstat (limited to 'accounts/gkleen@sif/zshrc')
-rw-r--r--accounts/gkleen@sif/zshrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc
index 7ee24452..c65e35f9 100644
--- a/accounts/gkleen@sif/zshrc
+++ b/accounts/gkleen@sif/zshrc
@@ -372,6 +372,14 @@ l() {
372 exa --binary --git --time-style=iso --long --all --header --group-directories-first --colour=always $@ | less --mouse -FR 372 exa --binary --git --time-style=iso --long --all --header --group-directories-first --colour=always $@ | less --mouse -FR
373} 373}
374 374
375re() {
376 systemctl --restart $@
377}
378
379ure() {
380 systemctl --user --restart $@
381}
382
375alias '..'='cd ..' 383alias '..'='cd ..'
376alias -g L='| less' 384alias -g L='| less'
377alias -g S='&> /dev/null' 385alias -g S='&> /dev/null'