aboutsummaryrefslogtreecommitdiff
path: root/uninstall
diff options
context:
space:
mode:
Diffstat (limited to 'uninstall')
-rwxr-xr-xuninstall7
1 files changed, 7 insertions, 0 deletions
diff --git a/uninstall b/uninstall
new file mode 100755
index 0000000..223b546
--- /dev/null
+++ b/uninstall
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+echo "Uninstalling path and abstraction entry from your .pdrc file. A backup is at .pdrc.bak"
+cp ~/.pdrc ~/.pdrc.bak
+grep -v "`pwd`" ~/.pdrc >> ~/.pdrc-tmp
+mv ~/.pdrc-tmp ~/.pdrc
+