Hacker News new | past | comments | ask | show | jobs | submit login

This is awesome, just a shame there isn't anything like this for MS PowerShell.



   function color ($name) { $Host.UI.RawUI.ForegroundColor = $name }
   function sayhello { 'pardon me do you have any grey poupon?' }
   echo $(color yellow) $(sayhello)
The other stuff (bold, pictures) requires host support (more than regular powershell.exe provides).


> The other stuff (bold, pictures) requires host support (more than regular powershell.exe provides).

PoshConsole made a nice stab at it. Sadly it is no longer developed, I think.

Simple unicode characters (the smilies etc as used in OP) does work in powershell ISE.

[1] https://poshconsole.codeplex.com/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: