[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Colouring commands on terminal to be green
From: |
lisa-asket |
Subject: |
Colouring commands on terminal to be green |
Date: |
Sun, 27 Jun 2021 17:32:13 +0200 (CEST) |
What is "\e[39m" exactly ?
From: Koichi Murase <myoga.murase@gmail.com>
To: lisa-asket@perso.be
Subject: Re: Colouring commands on terminal to be green
Date: 27/06/2021 07:09:51 Europe/Paris
Cc: help-bash <help-bash@gnu.org>
2021年6月27日(日) 13:57 <lisa-asket@perso.be>:
> But I also want to colourise the cammands I enter on the command line to show
> as green.
>
> [...] I need some assistance on what I actually have to do such that the
> commands
> I enter in the command line are coloured green.
I'm not sure if this works in every possible case because it's merely
a hack, but you may modify PS1 and PS0 as
PS1=$PS1'\[\e[32m\]'
PS0='\e[39m'$PS0
--
Koichi
- Colouring commands on terminal to be green, lisa-asket, 2021/06/27
- Re: Colouring commands on terminal to be green, Koichi Murase, 2021/06/27
- Colouring commands on terminal to be green,
lisa-asket <=
- Re: Colouring commands on terminal to be green, Greg Wooledge, 2021/06/27
- Colouring commands on terminal to be green, lisa-asket, 2021/06/27
- Re: Colouring commands on terminal to be green, Greg Wooledge, 2021/06/27
- Colouring commands on terminal to be green, lisa-asket, 2021/06/27
- Re: Colouring commands on terminal to be green, Greg Wooledge, 2021/06/27
- Colouring commands on terminal to be green, lisa-asket, 2021/06/27