add: pwsh: import-module s
This commit is contained in:
parent
a477226eca
commit
a974492693
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
# ==============================================================
|
||||
Import-Module PSReadLine # >= 2.2.2
|
||||
Import-Module CompletionPredictor
|
||||
Import-Module DirectoryPredictor
|
||||
Set-PSReadLineOption -EditMode Windows
|
||||
Set-PSReadLineOption -PredictionSource HistoryAndPlugin # require PowerShell ≧ 7.2 and PSReadLine ≧ 2.2.2
|
||||
Set-PSReadlineOption -HistoryNoDuplicates
|
||||
|
@ -153,6 +154,7 @@ function Invoke-SshAdd {
|
|||
}
|
||||
# execute "ssh-add" to add keys
|
||||
|
||||
Import-Module PSDates
|
||||
|
||||
# less options
|
||||
$env:LESS = "-i -M -R -S -W -z-4 -x4"
|
||||
|
@ -210,5 +212,8 @@ Import-Module npm-completion
|
|||
# wezterm
|
||||
#wezterm shell-completion --shell power-shell | Out-String | Invoke-Expression
|
||||
|
||||
# wsl.exe
|
||||
Import-Module WSLTabCompletion
|
||||
|
||||
Get-ChildItem ~\.config\powershell\completions\ | % { & $_ }
|
||||
|
||||
|
|
Loading…
Reference in a new issue