[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colouring commands on terminal to be green
From: |
Koichi Murase |
Subject: |
Re: Colouring commands on terminal to be green |
Date: |
Sun, 27 Jun 2021 14:09:51 +0900 |
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 <=
- 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
- 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