diff tcsh @ 39:3a9d39d8805b

[tcsh] Safe rm
author Edho Prima Arief <me@myconan.net>
date Tue, 26 Apr 2011 12:51:54 +0700
parents 330587be514c
children 54a82956bb11
line wrap: on
line diff
--- a/tcsh	Fri Apr 15 21:55:47 2011 +0700
+++ b/tcsh	Tue Apr 26 12:51:54 2011 +0700
@@ -27,6 +27,7 @@
 alias la ls -A
 alias ll ls -lA
 alias ls ls -F
+alias rm rm -i
 
 if ($?prompt) then
   set gnuls_opts="--color=auto --group-directories-first -F"
@@ -67,6 +68,7 @@
     alias ls ls -FG
     ( which gnuls ) > /dev/null && alias ls gnuls ${gnuls_opts}
     alias man man -o
+    alias rm rm -I
   breaksw
   case NetBSD:
     set path=(${path} /usr/pkg/{bin,sbin})