<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                [TOC] # 安裝 powershell 最新版本 windows 默認的 powershell 版本很低 ``` scoop install -g main/pwsh ``` 可以使用 該 pwsh 配置 Terminal # PowerShell 配置文件 檢查您是否已有 PowerShell Profile: ``` if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force } notepad $PROFILE # 用記事本編輯 ``` # 配置文件內容 ``` Import-Module posh-git $GitPromptSettings.EnableFileStatus = $false $GitPromptSettings.DefaultPromptPrefix.Text = '$(Get-Date -f "MM-dd HH:mm:ss") ' $GitPromptSettings.DefaultPromptPrefix.ForegroundColor = [ConsoleColor]::Magenta $GitPromptSettings.DefaultPromptAbbreviateHomeDirectory = $true $GitPromptSettings.DefaultPromptPath.ForegroundColor = 'Orange' $GitPromptSettings.DefaultPromptBeforeSuffix.Text = '`n' $GitPromptSettings.DefaultPromptWriteStatusFirst = $true # 起始位置 set-location D:\YXT # 將PowerShell窗口的標題更改為SysadminGeek $shell.WindowTitle="SysadminGeek" # 更改背景和文本的顏色: # $shell.BackgroundColor ="Gray" # $shell.ForegroundColor = "Black" # ------------------設置別名----------------------- new-item alias:edit -value notepad3.exe # 清除主機 # Clear-Host #-------------------PSReadline------------------------ # 設置 Tab 鍵補全 Set-PSReadlineKeyHandler -Key Tab -Function Complete # 設置 Ctrl+d 為菜單補全和 Intellisense # Set-PSReadLineKeyHandler -Key "Tab" -Function MenuComplete # 設置 Ctrl+d 為退出 PowerShell Set-PSReadlineKeyHandler -Key "Ctrl+d" -Function ViExit # 設置 Ctrl+z 為撤銷 Set-PSReadLineKeyHandler -Key "Ctrl+z" -Function Undo # 設置向上鍵為后向搜索歷史記錄 Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward # 設置向下鍵為前向搜索歷史紀錄 Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward # 一些 PSReadline 配置 $PSReadLineOptions = @{ EditMode = "Emacs" HistoryNoDuplicates = $true HistorySearchCursorMovesToEnd = $true Colors = @{ # 提示文字顏色,原來的顏色太淺了,我這里換了 Prediction = '#8F8B8B' } } Set-PSReadLineOption @PSReadLineOptions #-------------------------starship-------------------------- Invoke-Expression (&starship init powershell) ``` # 參考 [Windows Terminal + PowerShell 的配置 - 丏谷 | Miangu Blog (zhangtianrong.github.io)](https://zhangtianrong.github.io/2020/01/09/WT+POSH/)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看