prompt/round
This commit is contained in:
parent
f08bbdb671
commit
c943d59132
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ rwx_shell_prompt() {
|
|||
id="$(id --user)"
|
||||
local path="${PWD}"
|
||||
local user="${USER}"
|
||||
local view="└ "
|
||||
local view="╰ "
|
||||
# code
|
||||
if [ "${code}" -ne 0 ]; then
|
||||
view="${view}${RWX_COLOR_GREEN}"
|
||||
|
@ -96,7 +96,7 @@ rwx_shell_prompt() {
|
|||
# new
|
||||
view="${view}\\n"
|
||||
# frame
|
||||
view="${view}${RWX_COLOR_DEFAULT}┌ "
|
||||
view="${view}${RWX_COLOR_DEFAULT}╭ "
|
||||
# user
|
||||
if [ "${id}" -eq 0 ]; then
|
||||
view="${view}${RWX_COLOR_GREEN}"
|
||||
|
|
Loading…
Reference in a new issue