Package: safe-rm
Version: 0.12-11
Severity: wishlist
Tags: help

Right now safe-rm is enabled by default for interactive bash/dash shells due
to the fact that it drops a configuration blurb in /etc/profile.d/ which
overwrites the default PATH:

  https://salsa.debian.org/debian/safe-rm/-/blob/master/debian/safe-rm.sh

It would be good to add the equivalent configuration blurb for csh/tcsh.

I tried putting the following in /etc/profile.d/safe-rm.csh but it didn't
work:

  if ($?prompt) then
    setenv PATH /usr/share/safe-rm/bin\:$PATH
    set path = (/usr/share/safe-rm/bin $path)
  endif

and so I'm not sure exactly how to do this.

Francois

-- 
https://fmarier.org/

Reply via email to