don't write pronouns in birthday
parent
0adaf9e90c
commit
c78ecb1120
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue