mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
bashrc & zshrc: add some systemd aliases
This commit is contained in:
parent
7e0adb8150
commit
228de9b517
5
bashrc
5
bashrc
@ -409,6 +409,11 @@ alias less="less -R "
|
||||
# "su -" with sudo
|
||||
alias ssu="sudo -i "
|
||||
|
||||
# systemd runlevels/targets
|
||||
alias currenttargets="systemctl list-units --type=target"
|
||||
alias telsystemd="systemctl isolate "
|
||||
alias defaulttarget="systemctl enable "
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
# .aliases
|
||||
|
5
zshrc
5
zshrc
@ -358,6 +358,11 @@ alias ex-tarbz2="tar xfvj "
|
||||
|
||||
alias info="echo 'I don't know anyone who likes and uses info pages, so I aliased this to pinfo. If you don't have it installed, you should install it! To override this alias run: \info <document>' && pinfo "
|
||||
|
||||
# systemd runlevels/targets
|
||||
alias currenttargets="systemctl list-units --type=target"
|
||||
alias telsystemd="systemctl isolate "
|
||||
alias defaulttarget="systemctl enable "
|
||||
|
||||
# For getting timestamps in history
|
||||
alias history="history -i "
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user