goto icon indicating copy to clipboard operation
goto copied to clipboard

goto --expand not return 1 on error

Open semseysandor opened this issue 4 years ago • 0 comments
trafficstars

If goto --expand would return 1 on error (as it does in other commands), it could be used easier to check if alias exist before creating.

E.g.:

if ! goto -x foo >/dev/null 2>&1; then
    goto -r foo /bar
fi

semseysandor avatar May 31 '21 13:05 semseysandor