You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Is your feature request related to a problem? Please describe.
The command
nix-store --optimize
is an alias ofnix-store --optimise
. However,nix store optimize
is NOT an alias ofnix 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
withoptimize
, along with modifying the manpage to make note of this.Additional context
My workaround is on GitHub.
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: