LPGhatguy / aftman

Aftman, the prodigal sequel to Foreman
MIT License
157 stars 16 forks source link

Update create_new to create for zsh config #45

Closed LastTalon closed 1 year ago

LastTalon commented 1 year ago

This should fix #44 by changing create_new to create.

It seems like when for zsh only previously it was attempting to create a new file, but when the file already existed it fails with an AlreadyExists error as it attempts to open when the file exists.

This is hard for me to test since I don't use zsh myself, I only encountered this helping others.

OverHash commented 1 year ago

LGTM!

LastTalon commented 1 year ago

@OverHash Have you built and tested it to see if this works for you with zsh? That would be very helpful for me.

OverHash commented 1 year ago

Yep, looks like the correct behavior now. image