blob: ef7e4ffecdf10f096f973ed1c41c6f7d15caa051 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
post_install() {
echo "bash-git-prompt
NOTE: To use bash-git-prompt, you should add the following to your
/etc/bash.bashrc or ~/.bashrc:
if [ -f %{/usr/lib/bash-git-prompt/gitprompt.sh ]; then
# To only show the git prompt in or under a repository directory
# GIT_PROMPT_ONLY_IN_REPO=1
# To use upstream's default theme
# GIT_PROMPT_THEME=Default
# To use upstream's default theme, modified by arch maintainer
GIT_PROMPT_THEME=Default_Arch
source /usr/lib/bash-git-prompt/gitprompt.sh
fi
"
}
post_remove() {
echo "bash-git-prompt
NOTE: Any already running shells that were using bash-git-prompt will give a
bunch of errors with every new prompt line, until you start new shells
by doing one of the following:
* Restarting your shells (relogging in each of them)
* Starting new shells (running "bash" in each of them)
* Rebooting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"
}
|