Created
April 2, 2024 03:15
-
-
Save xsm1997/e80c94950be2bcb31e0ea90f7e2d95bd to your computer and use it in GitHub Desktop.
Powershell profile (self-use)
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
Remove-Item alias:curl | |
Function start-conda() { | |
(& "C:\Users\kuma\scoop\apps\miniconda3\current\Scripts\conda.exe" "shell.powershell" "hook") | Out-String | Invoke-Expression | |
} | |
Set-PSReadLineOption -HistorySearchCursorMovesToEnd | |
# Shows navigable menu of all options when hitting Tab | |
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete | |
# Autocompletion for arrow keys | |
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward | |
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment