rm doesn't ask for confirmation

Progetto:Trisquel
Versione:7.0
Componente:Programs
Categoria:richiesta di funzionalità
Priorità:normal
Assigned:Non assegnata
Stato:closed
Descrizione

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.

Sab, 12/06/2014 - 18:26
Categoria:segnalazione di bug» richiesta di funzionalità
Priorità: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.

Mer, 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

Ven, 06/12/2015 - 01:49
Stato:active» patch (ready)

Merge request sent here:

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

Gio, 06/18/2015 - 20:07
Stato:patch (ready)» fixed

Merged and built

Gio, 07/02/2015 - 20:10
Stato:fixed» closed

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