X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=conflink;h=42c811a6437f16b9e195b1fded71eb3516826efe;hb=313bf2239f766a5a1d060133131b477478873ad7;hp=30d868e4dae606d244bc2decb19126fda8d70799;hpb=7e4f3d0a6130b69b7f76a3ff13e510ffbeb1484b;p=distro-setup diff --git a/conflink b/conflink index 30d868e..42c811a 100755 --- a/conflink +++ b/conflink @@ -24,8 +24,12 @@ m() { s() { sudo "$@"; } lnf() { /a/exe/lnf "$@"; } -if [[ $1 == -f ]]; then +if [[ $1 == -f ]]; then # f for fast lnf() { ln -sf "$@"; } +elif + [[ $1 ]]; then + echo "error: unrecognized arguments" >&2 + exit 0 fi shopt -s nullglob @@ -145,4 +149,8 @@ case $user in ;; esac +f=/a/bin/distro-setup/system-status +if [[ -x $f ]]; then + $f _ +fi echo 0 >~/.local/conflink