Skip to content

Instantly share code, notes, and snippets.

@jtuttas
Created July 17, 2016 15:01
Show Gist options
  • Save jtuttas/3bed89a56ff03c1a6a56c05d2d88ec20 to your computer and use it in GitHub Desktop.
Save jtuttas/3bed89a56ff03c1a6a56c05d2d88ec20 to your computer and use it in GitHub Desktop.
set-psreadlineoption -t parameter darkblue
set-psreadlineoption -t operator darkblue
set-psreadlineoption -t string darkgreen
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1")
. $env:github_posh_git\profile.example.ps1
function prompt
{
$l=get-location;
$f=$l.Path.Substring($l.Path.LastIndexOf("\"))
$l.Drive.Name+":\\.."+$f+ "> "
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment