Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3746703
D135.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
451 B
Referenced Files
None
Subscribers
None
D135.diff
View Options
diff --git a/files/root/.bashrc b/files/root/.bashrc
--- a/files/root/.bashrc
+++ b/files/root/.bashrc
@@ -1,2 +1,11 @@
+# Autocompletion
source /opt/arcanist/resources/shell/bash-completion
source /opt/git-completion.bash
+
+# Prompt - Git information
+source /etc/bash_completion.d/git-prompt
+PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
+GIT_PS1_SHOWDIRTYSTATE=1
+GIT_PS1_SHOWUNTRACKEDFILES=1
+GIT_PS1_SHOWUPSTREAM="auto"
+GIT_PS1_SHOWCOLORHINTS=1
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 22:35 (22 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248209
Default Alt Text
D135.diff (451 B)
Attached To
Mode
D135: Git prompt for Bash
Attached
Detach File
Event Timeline
Log In to Comment