config/shell: show systemctl transactions
This commit is contained in:
parent
e9283ce7d5
commit
026e44ebee
|
@ -4,6 +4,7 @@ which pacman >/dev/null || return 0
|
||||||
alias pac='noglob sudo pacman'
|
alias pac='noglob sudo pacman'
|
||||||
alias pacs='pac -Syu --needed'
|
alias pacs='pac -Syu --needed'
|
||||||
alias pacr='pac -R --recursive'
|
alias pacr='pac -R --recursive'
|
||||||
|
alias yau='sudo systemctl start --show-transaction reflector && noglob yay'
|
||||||
alias yays='noglob yay -Sy --needed --noprovides --noremovemake'
|
alias yays='noglob yay -Sy --needed --noprovides --noremovemake'
|
||||||
alias yayr='noglob yay -R --cascade --recursive'
|
alias yayr='noglob yay -R --cascade --recursive'
|
||||||
|
|
||||||
|
|
|
@ -148,13 +148,13 @@ scr() {
|
||||||
sudo systemctl restart "$1"
|
sudo systemctl restart "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Restart matching systemctl service with chance for input inbetween
|
# Restart matching systemctl service with time for adjustments inbetween
|
||||||
scb() {
|
scb() {
|
||||||
systemctl --user stop -T "$1"
|
systemctl --user stop --show-transaction "$1"
|
||||||
sudo systemctl stop -T "$1"
|
sudo systemctl stop --show-transaction "$1"
|
||||||
read
|
read
|
||||||
systemctl --user start -T "$1"
|
systemctl --user start --show-transaction "$1"
|
||||||
sudo systemctl start -T "$1"
|
sudo systemctl start --show-transaction "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
alias jcl='sudo SYSTEMD_LESS=FRKi journalctl --boot --no-hostname -e'
|
alias jcl='sudo SYSTEMD_LESS=FRKi journalctl --boot --no-hostname -e'
|
||||||
|
|
Loading…
Reference in New Issue