Skip to content

Instantly share code, notes, and snippets.

@YoSoyPhil
Last active January 30, 2019 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YoSoyPhil/2dd24e000bf72fd729776b2c01d34cca to your computer and use it in GitHub Desktop.
Save YoSoyPhil/2dd24e000bf72fd729776b2c01d34cca to your computer and use it in GitHub Desktop.
Turn PowerShell into a Linux like Bash Shell appearence
New-Item -path $profile -type file –force
Import-Module PSReadLine
Set-PSReadLineKeyHandler -Key Tab -Function Complete
Set-PSReadlineOption -BellStyle Visual
set-alias dc docker-compose
function prompt {
$p = Split-Path -leaf -path (Get-Location)
$u = $env:UserName
$h = $env:ComputerName
"$u `@ $h \ $p >"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment