Proyecto: | Trisquel |
Versión: | 7.0 |
Componente: | Programs |
Categoría: | petición de característica |
Prioridad: | normal |
Asignado: | No asignado |
Estado: | closed |
In trisquel 6, if you used rm without arguments, it would ask you to confirm.
Trisquel 7 does not.
Add this to .bashrc:
alias rm='rm -i'
Then restart your shell/terminal.
This should be set to the default, on a base install.
No no no no no no no no no no please don't bring it back. Please please please please. I'm glad it doesn't ask. That. Was. So. Annoying.
I agree, this should not be the default behavior. Instead we should discourage people from running commands that they do not fully understand the implications of.
It's gone? I still have that same annoying alias.
I think if you installed from a pre-release version, you might still have it.
Well, I didn't, so that doesn't explain it.
Maybe one of the packages I installed created the alias. I do recall the alias not being there when I first installed.
The package that creates the alias is trisquel-base-data in /etc/bash_completion.d/aliases .
The alias should probably be removed from there.
And this is still happening on Trisquel 7.
https://devel.trisquel.info/trisquel/trisquel-packages/raw/master/7.0/trisquel-base-data/data/etc/bash_completion.d/aliases
Merge request sent here:
https://devel.trisquel.info/trisquel/trisquel-packages/merge_requests/1
Merged and built
Automatically closed -- issue fixed for 2 weeks with no activity.