Use existing default_user variable if set externally
This commit is contained in:
parent
6702d4754a
commit
7dd5e99734
|
@ -29,10 +29,9 @@
|
||||||
# A few utility functions to make it easy and re-usable to draw segmented prompts
|
# A few utility functions to make it easy and re-usable to draw segmented prompts
|
||||||
|
|
||||||
CURRENT_BG='NONE'
|
CURRENT_BG='NONE'
|
||||||
DEFAULT_USER='pavle'
|
DEFAULT_USER=${DEFAULT_USER:-default}
|
||||||
|
|
||||||
# Special Powerline characters
|
# Special Powerline characters
|
||||||
|
|
||||||
() {
|
() {
|
||||||
local LC_ALL="" LC_CTYPE="en_US.UTF-8"
|
local LC_ALL="" LC_CTYPE="en_US.UTF-8"
|
||||||
# NOTE: This segment separator character is correct. In 2012, Powerline changed
|
# NOTE: This segment separator character is correct. In 2012, Powerline changed
|
||||||
|
|
Loading…
Reference in New Issue