Use existing default_user variable if set externally

This commit is contained in:
Pavle Portic 2020-03-23 16:34:16 +01:00
parent 6702d4754a
commit 7dd5e99734
Signed by: TheEdgeOfRage
GPG Key ID: 6758ACE46AA2A849
1 changed files with 1 additions and 2 deletions

View File

@ -29,10 +29,9 @@
# A few utility functions to make it easy and re-usable to draw segmented prompts
CURRENT_BG='NONE'
DEFAULT_USER='pavle'
DEFAULT_USER=${DEFAULT_USER:-default}
# Special Powerline characters
() {
local LC_ALL="" LC_CTYPE="en_US.UTF-8"
# NOTE: This segment separator character is correct. In 2012, Powerline changed