1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Allow having multiple config files

This commit is contained in:
mjarkk
2021-07-27 22:03:37 +02:00
committed by Jesse Duffield
parent db736896bc
commit 913a2fd065
7 changed files with 137 additions and 65 deletions

View File

@ -656,7 +656,11 @@ func (gui *Gui) showIntroPopupMessage(done chan struct{}) error {
onConfirm := func() error {
done <- struct{}{}
gui.Config.GetAppState().StartupPopupVersion = StartupPopupVersion
return gui.Config.SaveAppState()
err := gui.Config.SaveAppState()
if err != nil && os.IsPermission(err) {
return nil
}
return err
}
return gui.ask(askOpts{