add: git config
This commit is contained in:
parent
270f3030f1
commit
918a0708a6
3 changed files with 28 additions and 5 deletions
15
.bashrc
15
.bashrc
|
@ -17,6 +17,13 @@ if [ -f ~/.bash_colours ]; then
|
|||
source ~/.bash_colours
|
||||
fi
|
||||
|
||||
PS1="$PURPLE\u$nc@$BLUE\H$nc:$GREEN\w$YELLOW"'$(__git_ps1)'"$nc\\n$GREEN\$$nc "
|
||||
|
||||
export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:~/bin
|
||||
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
|
||||
if [ -f /usr/share/git/completion/git-prompt.sh ]; then
|
||||
source /usr/share/git/completion/git-prompt.sh
|
||||
else
|
||||
|
@ -31,9 +38,7 @@ if [ -f ~/.bash_aliases.local ]; then
|
|||
source ~/.bash_aliases.local
|
||||
fi
|
||||
|
||||
PS1="$PURPLE\u$nc@$BLUE\H$nc:$GREEN\w$YELLOW"'$(__git_ps1)'"$nc\\n$GREEN\$$nc "
|
||||
if [ -f ~/.bashrc.local ]; then
|
||||
source ~/.bashrc.local
|
||||
fi
|
||||
|
||||
export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:~/bin
|
||||
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue