1776654103
This commit is contained in:
@@ -14,9 +14,6 @@ if ($Host.Name -eq 'ConsoleHost' -and $Host.UI.SupportsVirtualTerminal) {
|
||||
Set-PSReadLineOption -PredictionSource HistoryAndPlugin
|
||||
Set-PSReadLineOption -PredictionViewStyle ListView
|
||||
Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete
|
||||
# --- 历史记录优化 ---
|
||||
Set-PSReadLineOption -HistoryNoDuplicates
|
||||
Set-PSReadLineOption -MaximumHistoryCount 10000
|
||||
}
|
||||
catch {
|
||||
Write-Verbose "PSReadLine 配置未生效: $($_.Exception.Message)"
|
||||
@@ -79,8 +76,6 @@ function Get-EmptyDirectory {
|
||||
}
|
||||
}
|
||||
|
||||
Set-Alias -Name fempty -Value Get-EmptyDirectory
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# 函数: Get-GitCodeLines
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
@@ -0,0 +1 @@
|
||||

|
||||
Reference in New Issue
Block a user