Home > database >  ~/.bashrc change PS1 with color converts newline into carriage return first newline
~/.bashrc change PS1 with color converts newline into carriage return first newline

Time:04-22

I changed my prompt as:

    c=$(basename $CONDA_DEFAULT_ENV)
    export PS1='[\h] -\e[0;36m$c\e[0;37m (\W)            
  • Related