Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(grim): handle positional arguments and error message in notifyError
- Introduced `POSITIONAL_ARGS` to collect and reassign positional arguments using `set -- $POSITIONAL_ARGS` after flag parsing, ensuring correct positional argument handling. - Ensured flag parsing (`--notify`, `--cursor`, `--wait`) is processed before positional arguments. - Stored `$1` as `error_message` in `notifyError` to fix incorrect reference during condition evaluation.
- Loading branch information