Move smiley to end of line
This commit is contained in:
parent
c8cf1ac5a9
commit
23bd9474a0
6
.ps1
6
.ps1
|
@ -1,7 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
[[ -f /etc/bash_completion.d/git-prompt ]] && . /etc/bash_completion.d/git-prompt
|
||||
|
||||
NC='\[\033[00m\]'
|
||||
GREEN='\[\033[01;32m\]'
|
||||
YELLOW='\[\033[01;33m\]'
|
||||
|
@ -14,6 +12,6 @@ SELECT="if [ \$? = 0 ]; then echo \"${SMILEY}\"; else echo \"${FROWNY}\"; fi"
|
|||
|
||||
GIT_BRANCH="$(__git_ps1 ' [%s]')"
|
||||
|
||||
|
||||
PS1="${GREEN}\u@\h${NC}:${BLUE}\w${NC} \`${SELECT}\`${YELLOW}\$(__git_ps1 ' [%s]')${NC} \$ "
|
||||
# actually export PS1
|
||||
PS1="${GREEN}\u@\h${NC}:${BLUE}\w${YELLOW}\$(__git_ps1 ' [%s]')${NC} \`${SELECT}\` \$ "
|
||||
|
||||
|
|
Loading…
Reference in New Issue