Skip to content

Instantly share code, notes, and snippets.

@ken1flan
Created October 14, 2015 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ken1flan/1ffbe509a1024f17e9ee to your computer and use it in GitHub Desktop.
Save ken1flan/1ffbe509a1024f17e9ee to your computer and use it in GitHub Desktop.
git プロンプト の bash_profile 設定
# for git
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
if [ -f "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" ]; then
GIT_PROMPT_THEME=Default
source "$(brew --prefix bash-git-prompt)/share/gitprompt.sh"
fi
. /usr/local/etc/bash_completion.d/git-completion.bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment