tinted-theming / tinted-shell

Base16 and Base24 for Shells
https://github.com/tinted-theming/home
MIT License
65 stars 217 forks source link

Use clobber redirection operator when writing vim scripts #51

Closed jdrouhard closed 10 months ago

jdrouhard commented 10 months ago

It looks like the old behavior before 9ed4181e1b34766f64e38ddee70214ebd324c167 used the >| clobber redirection but that commit changed it to the normal > redirection operator which relies on the shell's settings to have clobber enabled (which isn't always the case).

The proper way for a hook like this that controls the files in question should just clobber it.