summarylogtreecommitdiffstats
path: root/gitstatus.install
diff options
context:
space:
mode:
Diffstat (limited to 'gitstatus.install')
-rw-r--r--gitstatus.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/gitstatus.install b/gitstatus.install
new file mode 100644
index 000000000000..8c04f871758f
--- /dev/null
+++ b/gitstatus.install
@@ -0,0 +1,10 @@
+post_install() {
+ echo ">>> To activate gitstatus in Bash, add the following line to .bashrc:"
+ echo ">>> source /usr/share/gitstatus/gitstatus.prompt.sh"
+ echo ">>> To activate gitstatus in Zsh, add the following line to .zshrc:"
+ echo ">>> source /usr/share/gitstatus/gitstatus.prompt.zsh"
+}
+
+post_upgrade() {
+ post_install
+}