diff --git a/app/settings.go b/app/settings.go index 2df2773..f8b7a42 100644 --- a/app/settings.go +++ b/app/settings.go @@ -36,10 +36,10 @@ func (view *Settings) Event(state *ui.State, event vaxis.Event) (processed bool) // XXX: this assumes nothing will break if pronouns != "" { - os.WriteFile(".pronouns", []byte(pronouns), 0644) + os.WriteFile(".pronouns", []byte(pronouns+"\n"), 0644) } if birthday != "" { - os.WriteFile(".birthday", []byte(pronouns), 0644) + os.WriteFile(".birthday", []byte(birthday+"\n"), 0644) } if timezone != "" { f, _ := os.OpenFile(".bashrc", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)