Skip to content

why the $PS1 prompt can't show on uwp #3566

@unihon

Description

@unihon
  • system:
    win10-1803
    debian(wsl-uwp)
  • problem:
    why the $PS1 prompt can't show on uwp,but is work on other conslole like cmd\ps\xshell...
    image

and I have reinstall the wsl (uwp) many times,but alway have this problem.
the ~/.bashrc is default

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m
\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions