Use `tee` to replace the alias files content instead of `>`

As mentioned in #615 it is possible to configure `>` to not override
existing files by default. `tee` is a standard tool that can be used
shell independent.
1 file changed