* Shay Levi (Thu, 10 Jan 2008 21:05:37 +0000 (UTC))
> 1. You can't use lightCyan as a console color, possible color values are:
> Black, DarkBlue, DarkGreen, DarkCyan, DarkRed, DarkMagenta
> , DarkYellow, Gray, DarkGray, Blue, Green, Cyan, Red, Magenta, Yellow, White.
>
> Include this function in your $profile and restart the shell:
>
> function prompt{
> write-host -NoNewLine -foreground cyan "$env:username@$env:computername[$(split-path
> -leaf $pwd)]>"
> " `b "
> } Doesn't work: I get this output
cmdlet split-path at command pipeline position 1
Supply values for the following parameters:
Path[0]:
I press ENTER and then:
PS>
It also seems that you can only colour one whole line (and not parts
of it)...?
Interesting but kind of pointless. First, I have to remember to leave
the shell with bye (instead of "exit"), then I have to remember to
type "get-history" and this just displays the history - what is that
useful for - instead of going into the history buffer (Cursor up and
down).
Thorsten