Per these directions, install Posh-Git and Oh-My-Posh. This also assumes you've installed Git for Windows.

Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser

Run these commands from PowerShell or PowerShell Core. I recommend PowerShell 6.2.3 or above. You can also use PowerShell on Linux too, so be aware. When you run Install-Module for the first time you'll get a warning that you're downloading and installing stuff from the internet so follow the prompts appropriately.

Also get PSReadline if you're on PowerShell Core:

Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck

Then run "notepad $PROFILE" and add these lines to the end:

Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Paradox

Now that word Paradox there is optional. It's actually the name of a theme and you can (and should!) pick the theme that makes you happy and use that theme's name here. I like Agnoster, Paradox, or Fish, myself. Read more over here.


There's a number of choices for Powerline or Powerline-like prompts from Ubuntu. I like Powerline-Go for it's easy defaults.

I just installed Go, then installed powerline-go with go get.

sudo apt install golang-go
go get -u

Add this to your ~/.bashrc. You may already have a GOPATH so be aware.

function _update_ps1() {
PS1="$($GOPATH/bin/powerline-go -error $?)"
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then

GOTCHA: If you are using WSL2, it'll be lightning fast with git prompts if your source code is in your Ubuntu/Linux mount, somewhere under ~/. However, if your source is under /mnt/c or /mnt anywhere, the git calls being made to populate the prompt are super slow. Be warned. Do your Linux source code/git work in the Linux filesystem for speed until WSL2 gets the file system faster under /mnt.



Building a Blog Using ASP.NET Core

I’ve been interested in writing my own blogging engine for a while, and it’s probably not that uncommon amongst developers. Anyway, I’m looking around for inspiration so that I don’t have to reinvent the wheel and start from zero. This blog post contains what I’ve found so far when it comes to building a blog using ASP.NET Core.

WilderBlog – An ASP.NET Core blog built by Shawn Wildermuth

This is the blog that Shawn is currently using himself on his own website. It’s built using Angular 2 and ASP.NET Core, as well as other technologies related to the new ASP.NET.

The source code is available here on GitHub:

Shawn also wrote a blog post about the project: – An ASP.NET Core blog being built by Charles Nurse

Charles Nurse from DNN Corp (DotNetNuke) is building an ASP.NET Core blog. The blog is still a work in progress, but you can follow along on his blog, and on the project’s GitHub page.

The project’s GitHub page

Naif.Blog – A new ASP.NET Core Blog

Naif.Blog: 0. Setting the Stage

Naif.Blog: 1. In ASP.NET Core Everything is Injected

Naif.Blog: 2. Creating a WebAPI service to support the MetaWeblogAPI

Naif.Blog: 3. Adding Theming

Naif.Blog: 4. View Components

Naif.Blog: 5. ASP.NET Core 1.0 RTM

Piranha CMS – An ASP.NET MVC blog being rewritten for ASP.NET Core




Be the first to post a comment

Post a comment