rm doesn't ask for confirmation

Proyecto:Trisquel
Versión:7.0
Componente:Programs
Categoría:petición de característica
Prioridad:normal
Asignado:No asignado
Estado:closed
Descripción

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.

Lun, 11/24/2014 - 16:47

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.

Lun, 11/24/2014 - 17:48

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.

Sáb, 12/06/2014 - 18:26
Categoría:informe de fallo» petición de característica
Prioridad:critical» normal
Lun, 12/08/2014 - 00:32

It's gone? I still have that same annoying alias.

Mar, 12/09/2014 - 03:51

I think if you installed from a pre-release version, you might still have it.

Mié, 12/10/2014 - 15:13

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.

Lun, 06/01/2015 - 10:44

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

Vie, 06/12/2015 - 01:49
Estado:active» patch (ready)

Merge request sent here:

https://devel.trisquel.info/trisquel/trisquel-packages/merge_requests/1

Jue, 06/18/2015 - 20:07
Estado:patch (ready)» fixed

Merged and built

Jue, 07/02/2015 - 20:10
Estado:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.