Skip to content

Instantly share code, notes, and snippets.

@YoSoyPhil
Last active January 30, 2019 08:38
Show Gist options
  • 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