Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bashrc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mpro
bashrc
Commits
8578fc7f
Commit
8578fc7f
authored
Aug 29, 2016
by
junk@logio.cz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed detect exists __git__ps1
parent
2862b56d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
.bashrc-extends
.bashrc-extends
+3
-2
No files found.
.bashrc-extends
View file @
8578fc7f
...
@@ -4,8 +4,9 @@ PS1+='`if [ $? = 0 ]; then echo "\[\033[30m\]0"; else echo "\[\033[31m\]1"; fi`'
...
@@ -4,8 +4,9 @@ PS1+='`if [ $? = 0 ]; then echo "\[\033[30m\]0"; else echo "\[\033[31m\]1"; fi`'
PS1+="\[\033[1;32m\]\u@$(hostname)\[\033[m\]" # user@server
PS1+="\[\033[1;32m\]\u@$(hostname)\[\033[m\]" # user@server
PS1+='\[\033[97m\]\[\033[41m\]\w\[\033[49m\]'
PS1+='\[\033[97m\]\[\033[41m\]\w\[\033[49m\]'
if [ $(type -t __git_ps1) = "function" ]; then
$(compgen -c | grep __git_ps1 > /dev/null 2>&1)
PS1+='\[\033[34m\]$(__git_ps1) '
if [ $? -eq 0 ]; then
PS1+='\[\033[34m\]$(__git_ps1) '
fi
fi
PS1+='\[\033[32m\]$'
PS1+='\[\033[32m\]$'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment