diff options
Diffstat (limited to 'prompt')
-rw-r--r-- | prompt | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -42,4 +42,9 @@ function command_prompt() { PS2="${BOLD}>${OFF} " } +# Older systems doesn't source git completion by default +if ! type __git_ps1 &> /dev/null && [ -e "/etc/bash_completion.d/git" ]; then + source /etc/bash_completion.d/git +fi + PROMPT_COMMAND="command_prompt" |