aboutsummarylogtreecommitdiffstats
path: root/bash-preexec-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'bash-preexec-git.install')
-rw-r--r--bash-preexec-git.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/bash-preexec-git.install b/bash-preexec-git.install
new file mode 100644
index 000000000000..af04f0c7a1c8
--- /dev/null
+++ b/bash-preexec-git.install
@@ -0,0 +1,10 @@
+preexec_path=/etc/bash-preexec/bash-preexec.sh
+
+post_install() {
+ echo "## To finish installation source bash-preexec.sh at the end of your bashrc, e.g."
+ echo '## echo "[[ -f $preexec_path ]] && source $preexec_path" >> /etc/bash.bashrc'
+}
+
+post_remove() {
+ echo "## To finish removal delete bash-preexec.sh sourcing at the end of your bashrc"
+}