Last active
August 7, 2019 17:54
-
-
Save andybp85/f0665dd5e90f04b459173dff2e74063e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# choco install fzf; Install-Module PSReadline; Install-Module PSFzf | |
Import-Module PSReadline | |
Remove-PSReadlineKeyHandler 'Ctrl+r' | |
Import-Module PSFzf | |
# choco install poshgit | |
Import-Module 'C:\tools\poshgit\dahlbyk-posh-git-9bda399\src\posh-git.psd1' | |
$GitPromptSettings.DefaultPromptPrefix = '`n' | |
$GitPromptSettings.DefaultPromptAbbreviateHomeDirectory = $true | |
$GitPromptSettings.DefaultPromptSuffix = '`n$([DateTime]::now.ToString("MM-dd HH:mm:ss")) > ' | |
Set-Alias ssh-agent "$env:ProgramFiles\git\usr\bin\ssh-agent.exe" | |
Set-Alias ssh-add "$env:ProgramFiles\git\usr\bin\ssh-add.exe" | |
Start-SshAgent -Quiet | |
New-Alias -Name g -Value "$Env:ProgramFiles\Git\bin\git.exe" | |
New-Alias -Name n -Value "npm" | |
cd ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment