Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |