Merge pull request #23 from pliljenberg/master
Fixed coloring that breaks my bash linebreaks and stuff
This commit is contained in:
commit
630476f8ae
20
prompt.sh
20
prompt.sh
@ -30,17 +30,17 @@ if [ -n "${BASH_VERSION}" ]; then
|
|||||||
: ${use_color_off:=false}
|
: ${use_color_off:=false}
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
: ${on='\033[0;37m'}
|
: ${on='\[\033[1;37m\]'}
|
||||||
: ${off='\033[1;30m'}
|
: ${off='\[\033[0m\]'}
|
||||||
: ${red='\033[0;31m'}
|
: ${red='\[\033[0;31m\]'}
|
||||||
: ${green='\033[0;32m'}
|
: ${green='\[\033[0;32m\]'}
|
||||||
: ${yellow='\033[0;33m'}
|
: ${yellow='\[\033[1;33m\]'}
|
||||||
: ${violet='\033[0;35m'}
|
: ${violet='\[\033[0;35m\]'}
|
||||||
: ${branch_color='\033[0;34m'}
|
: ${branch_color='\[\033[1;34m\]'}
|
||||||
: ${reset='\033[0m'}
|
: ${reset='\[\033[0m\]'}
|
||||||
|
|
||||||
PS2="${yellow}→${reset} "
|
PS2="${yellow}→${reset} "
|
||||||
|
|
||||||
source ${DIR}/base.sh
|
source ${DIR}/base.sh
|
||||||
function bash_prompt() {
|
function bash_prompt() {
|
||||||
PS1="$(build_prompt)"
|
PS1="$(build_prompt)"
|
||||||
|
Loading…
Reference in New Issue
Block a user