Alias `nix store optimize` to `nix store optimise`
Is your feature request related to a problem? Please describe.
The command nix-store --optimize is an alias of nix-store --optimise. However, nix store optimize is NOT an alias of nix store optimise. As an American, it can get annoying when I have to retype the command due to localization differences.
Describe the solution you'd like
Preferably, an alias could be made without modifying the bash autocompletion. I tried to naïvely copy and paste the line in src/nix/optimise-store.cc while changing the variable name, but that resulted in both aliases shown in Bash's autocompletion feature.
Describe alternatives you've considered
As a workaround, I have patched Nix on my machine to replace the alias for optimise with optimize, along with modifying the manpage to make note of this.
Additional context My workaround is on GitHub.
Priorities
Add :+1: to issues you find important.
Hi can this issue please be assigned to me.
Duplicate of #1902.
Thanks