summarylogtreecommitdiffstats
path: root/rmtrash.install
diff options
context:
space:
mode:
Diffstat (limited to 'rmtrash.install')
-rw-r--r--rmtrash.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/rmtrash.install b/rmtrash.install
new file mode 100644
index 00000000000..1ae9ac27def
--- /dev/null
+++ b/rmtrash.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo ">> It is very convenient to create the following aliases:"
+ echo ">> alias rm='rmtrash'"
+ echo ">> alias rmdir='rmdirtrash'"
+ echo ">> alias sudo='sudo '"
+}
+
+post_remove() {
+ echo ">> Make sure to delete the following aliases if you created them:"
+ echo ">> alias rm='rmtrash'"
+ echo ">> alias rmdir='rmdirtrash'"
+ echo ">> alias sudo='sudo '"
+}