📜  powershell 自动完成 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:17.100000             🧑  作者: Mango

代码示例1
# 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