2016-04-08 24 views
1

Ich habe git-prompt.sh in Ubuntu-Terminal erfolgreich konfiguriert. Bisher war es arbeitet sowohl Android Studio & ubuntu Terminal gut, aber plötzlich ist es nicht in Android Studio Terminal arbeitetgit prompt funktioniert nicht in Android Studio-Terminal

  • versuchten Android Studio Konfiguration zu löschen.

Android Studio terminal & gnome-terminal

meine .bashrc Probe

# 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" 

Antwort

1

Es sieht aus wie etwas mit meiner /etc/bash.bashrc vermasselte so, jetzt habe ich ersetzt /etc/bash.bashrc mit meinem Benutzer .bashrc Datei.

Stellen Sie sicher, ein Backup Ihrer /etc/bash.bashrc Profil