feat(config): add notARepository: quit

This commit is contained in:
Ryooooooga
2022-08-08 09:23:56 +09:00
parent 70a46028e1
commit 8b371ada73
3 changed files with 41 additions and 25 deletions

View File

@@ -101,7 +101,7 @@ confirmOnQuit: false
# determines whether hitting 'esc' will quit the application when there is nothing to cancel/close
quitOnTopLevelReturn: false
disableStartupPopups: false
notARepository: 'prompt' # one of: 'prompt' | 'create' | 'skip'
notARepository: 'prompt' # one of: 'prompt' | 'create' | 'skip' | 'quit'
promptToReturnFromSubprocess: true # display confirmation when subprocess terminates
keybinding:
universal:
@@ -531,3 +531,8 @@ notARepository: 'create'
# to skip without creating a new repo
notARepository: 'skip'
```
```yaml
# to exit immediately if run outside of the Git repository
notARepository: 'quit'
```