I did not realize the inline images were blocked.
I am attaching images for the prompt and commands.

On Friday, October 23, 2020 at 4:43:13 PM UTC-4 Jeremiah Garmatter wrote:

> Good afternoon,
>
> Recently, I've gotten into customizing bash prompts, specifically the 
> color. I was wondering if anyone knows a way to set the color of a command 
> itself.
>
> For example, I made the prompt look like this: 
> using this string: PS1="\n[\e[38;5;214m\u\e[0m@\e[1;37m\h\e[0m \W]\\$ "
> but I want the entered command to be light purple, so I added "\e[1;35m" 
> to the end of my PS1 variable: PS1="\n[\e[38;5;214m\u\e[0m@\e[1;37m\h\e[0m 
> \W]\\$ \e[1;35m"
>
> The new PS1 setting makes everything after the prompt purple, including 
> the output of my command, until the shell prints text with another color. 
> For example:
>
> The color of "ll" is correct, but I do not want my output to be purple, I 
> would prefer the output colors remain untouched. Is there a way to set the 
> command's color without interfering with the output? 
>
> Versions:
> OS: CentOS 8.2.2004 (Core)
> Bash: 4.4.19
> rootfiles: 8.1
>

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/linuxusersgroup/7bf87dd5-fc4f-45f7-8343-c26452be84e0n%40googlegroups.com.

Reply via email to