goto
goto copied to clipboard
goto --expand not return 1 on error
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