2016-04-08 11 views
1

ubuntu terminalinde git-prompt.sh yapılandırdım. Daha önce hem Android Studio & ubuntu terminalde iyi çalışıyordu ama aniden git prompt Android Studio terminalinde çalışmıyor

  • Android Studio yapılandırmayı silme çalıştı Android Studio terminalde çalışmıyor.

Android Studio terminal & gnome-terminal

benim .bashrc örnek

# Enable tab completion 
source /home/rnztx/git/git_wiki/git-completion.bash 

# colors! 
cyan="\[\033[0;36m\]" 
cyanD="\[\033[1;36m\]" 
green="\[\033[0;32m\]" 
greenD="\[\033[1;32m\]" 
redD="\[\033[1;31m\]" 
red="\[\033[0;31m\]" 
blue="\[\033[0;34m\]" 
blueD="\[\033[1;34m\]" 
purple="\[\033[0;35m\]" 
purpleD="\[\033[1;35m\]" 
reset="\[\033[0m\]" 
# Change command prompt 

source /home/rnztx/git/git_wiki/git-prompt.sh 

export GIT_PS1_SHOWDIRTYSTATE=1 
# '\u' adds the name of the current user to the prompt 
# '\$(__git_ps1)' adds git-related stuff 
# '\W' adds the name of the current directory 

export PS1="$purple\[email protected]\h:$green\$(__git_ps1)$green\W$ $reset" 

cevap

1

görünüyor benim /etc/bash.bashrc yüzden, şimdi benim kullanıcılarla /etc/bash.bashrc değiştirdik; .bashrc dosya ile berbat bir şey gibi.

sizin /etc/bash.bashrc profil emin yedekleme olun