config: adjust tiny mishaps

This commit is contained in:
xeruf 2021-12-11 02:10:19 +01:00
parent 0afb39d42f
commit a722da0346
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ scr() {
systemctl --user reload "$1" || systemctl --user reload "$1" ||
sudo systemctl reload "$1" || sudo systemctl reload "$1" ||
systemctl --user restart "$1" || systemctl --user restart "$1" ||
sudo systemctl restart"$1" || sudo systemctl restart "$1"
} }
# Restart matching systemctl service with chance for input inbetween # Restart matching systemctl service with chance for input inbetween

View File

@ -29,7 +29,7 @@ test -d "/etc/yadm" || sy clone
SECTION "Software" SECTION "Software"
link() { link() {
test -e "$2" || $(checkaccess -w "$2" || echo sudo) ln -sv "$@" test -e "$2" -o -h "$2" || $(checkaccess -w "$2" || echo sudo) ln -sv "$@"
} }
mkdir -p .config/audacity mkdir -p .config/audacity