about summary refs log tree commit diff stats
path: root/bash/prompt.bash
diff options
context:
space:
mode:
authorCase Duckworth2022-04-13 17:20:13 -0500
committerCase Duckworth2022-04-13 17:20:13 -0500
commit34d6372186b79a9b1004884152ec022fa43ef81d (patch)
tree6b3248a12d35c7aa06959fa5e226055756f32f8b /bash/prompt.bash
parentEmacs stuff (diff)
parentRemove apk from sudo aliases (diff)
downloadetc-34d6372186b79a9b1004884152ec022fa43ef81d.tar.gz
etc-34d6372186b79a9b1004884152ec022fa43ef81d.zip
Merge branch 'main' of github.com:duckwork/etc
Diffstat (limited to 'bash/prompt.bash')
-rw-r--r--bash/prompt.bash7
1 files changed, 4 insertions, 3 deletions
diff --git a/bash/prompt.bash b/bash/prompt.bash index dfb84ca..f1bdd69 100644 --- a/bash/prompt.bash +++ b/bash/prompt.bash
@@ -9,9 +9,10 @@ PS1+='\[\e[0;46m\]\u@\h \w'
9# git bit 9# git bit
10# see https://unix.stackexchange.com/questions/278206 10# see https://unix.stackexchange.com/questions/278206
11possible_git_prompt_locations=( 11possible_git_prompt_locations=(
12 /usr/share/git/git-prompt.sh # Arch, etc. (default?) 12 /usr/share/git/git-prompt.sh # Arch, etc. (default?)
13 /usr/lib/git-core/git-sh-prompt # Debian, Ubuntu ... 13 /usr/lib/git-core/git-sh-prompt # Debian, Ubuntu ...
14 /usr/share/git-core/contrib/completion/git-prompt.sh # Fedora ?? 14 /usr/share/git-core/contrib/completion/git-prompt.sh # Fedora ??
15 # I have yet to find Alpine's git prompt location.
15) 16)
16 17
17for file in "${possible_git_prompt_locations[@]}"; do 18for file in "${possible_git_prompt_locations[@]}"; do