diff options
| author | ache <ache@ache.one> | 2025-12-28 01:44:30 +0100 |
|---|---|---|
| committer | ache <ache@ache.one> | 2025-12-28 01:44:30 +0100 |
| commit | 663d1179af6ed571cd438860037f4fea4432bd0b (patch) | |
| tree | ea1be421545189176db542aff3ceb7345746ea49 | |
| parent | feat: add ipw function to get default wifi information in fish shell (diff) | |
feat: Exit with error code when user doesn't want to commit changes
| -rwxr-xr-x | functions/ia-commit.fish | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/ia-commit.fish b/functions/ia-commit.fish index d47cca6..22e2b22 100755 --- a/functions/ia-commit.fish +++ b/functions/ia-commit.fish @@ -16,6 +16,8 @@ function _ask _ask else if [ $response = r ] ia-commit + else if [ $response = n ] + exit 1 end end |