mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-26 05:09:23 +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
|
# "su -" with sudo
|
||||||
alias ssu="sudo -i "
|
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 .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .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 "
|
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
|
# For getting timestamps in history
|
||||||
alias history="history -i "
|
alias history="history -i "
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user