diff --git a/.config/shell/functions b/.config/shell/functions index 8406242..e25cc06 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -143,7 +143,7 @@ scr() { systemctl --user reload "$1" || sudo systemctl reload "$1" || systemctl --user restart "$1" || - sudo systemctl restart"$1" || + sudo systemctl restart "$1" } # Restart matching systemctl service with chance for input inbetween diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 0f101a5..dd7ea34 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -29,7 +29,7 @@ test -d "/etc/yadm" || sy clone SECTION "Software" 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