Last active
April 6, 2019 00:41
-
-
Save rudkx/af762b0797fa8495ab32789e6d6057fb to your computer and use it in GitHub Desktop.
Bash profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
if [ -e $(xcode-select -p)/usr/share/git-core/git-prompt.sh ] | |
then | |
source $(xcode-select -p)/usr/share/git-core/git-prompt.sh | |
fi | |
if [ -e $(xcode-select -p)/usr/share/git-core/git-completion.bash ] | |
then | |
source $(xcode-select -p)/usr/share/git-core/git-completion.bash | |
fi | |
if [ -n "$SSH_CLIENT" ]; then | |
PS1="ssh \h $ " | |
else | |
PS1='[\W$(__git_ps1 " (%s)")]\$ ' | |
fi | |
export P4CONFIG=.p4config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment