diff --git a/.config/shell/arch b/.config/shell/arch index c439bd3..20d1d0b 100644 --- a/.config/shell/arch +++ b/.config/shell/arch @@ -4,6 +4,7 @@ which pacman >/dev/null || return 0 alias pac='noglob sudo pacman' alias pacs='pac -Syu --needed' alias pacr='pac -R --recursive' +alias yau='sudo systemctl start --show-transaction reflector && noglob yay' alias yays='noglob yay -Sy --needed --noprovides --noremovemake' alias yayr='noglob yay -R --cascade --recursive' diff --git a/.config/shell/functions b/.config/shell/functions index ab8b25c..b5d8084 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -148,13 +148,13 @@ scr() { sudo systemctl restart "$1" } -# Restart matching systemctl service with chance for input inbetween +# Restart matching systemctl service with time for adjustments inbetween scb() { - systemctl --user stop -T "$1" - sudo systemctl stop -T "$1" + systemctl --user stop --show-transaction "$1" + sudo systemctl stop --show-transaction "$1" read - systemctl --user start -T "$1" - sudo systemctl start -T "$1" + systemctl --user start --show-transaction "$1" + sudo systemctl start --show-transaction "$1" } alias jcl='sudo SYSTEMD_LESS=FRKi journalctl --boot --no-hostname -e'