Skip to content

Commit

Permalink
Format PowerShell profile
Browse files Browse the repository at this point in the history
  • Loading branch information
mvsde committed Apr 13, 2019
1 parent d0a7061 commit f1badc8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Documents/WindowsPowerShell/profile.ps1
@@ -1,9 +1,18 @@
# Disable the annoying bell
Set-PSReadlineOption -BellStyle None

# Quit terminal with Ctrl+D
Set-PSReadlineKeyHandler -Key Ctrl+d -Function DeleteCharOrExit

Import-Module posh-git
Import-Module pure-pwsh
# Use PSReadline for history
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward

# Aliases
New-Alias dc docker-compose
New-Alias la Get-ChildItem
New-Alias which Get-Command

# Modules
Import-Module posh-git
Import-Module pure-pwsh

0 comments on commit f1badc8

Please sign in to comment.