bashrc & zshrc: add some systemd aliases

This commit is contained in:
Mika Suomalainen 2013-01-14 18:13:46 +02:00
parent 7e0adb8150
commit 228de9b517
2 changed files with 10 additions and 0 deletions

5
bashrc
View File

@ -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
View File

@ -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 "