diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-12 09:15:32 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-12 09:15:32 +0100 |
commit | 927ca1fc166f3bdb0d9f52c55c33f975ce9e8da7 (patch) | |
tree | 743d1535a692e7649e889c3baaee7e30db83e611 /accounts | |
parent | bd3ad2e1b6c4b629aca3a7d04ea7483d2625f904 (diff) | |
download | nixos-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')
-rw-r--r-- | accounts/gkleen@sif/zshrc | 8 |
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 | ||
375 | re() { | ||
376 | systemctl --restart $@ | ||
377 | } | ||
378 | |||
379 | ure() { | ||
380 | systemctl --user --restart $@ | ||
381 | } | ||
382 | |||
375 | alias '..'='cd ..' | 383 | alias '..'='cd ..' |
376 | alias -g L='| less' | 384 | alias -g L='| less' |
377 | alias -g S='&> /dev/null' | 385 | alias -g S='&> /dev/null' |