Last active
December 6, 2019 01:56
-
-
Save kyle-seongwoo-jun/c76995a18e0c843d12fcad18635c2081 to your computer and use it in GitHub Desktop.
My PowerShell $PROFILE file
This file contains hidden or 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
# Ctrl+D to exit | |
Set-PSReadlineKeyHandler -Chord Ctrl+d -Function DeleteCharOrExit | |
# alias which command | |
function which($name) | |
{ | |
Get-Command $name | Select-Object -ExpandProperty Definition | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should create the
$PROFILE
directory and file manually.