{"id":27108877,"url":"https://github.com/xxpe3/powershell_profile","last_synced_at":"2025-10-14T19:13:06.453Z","repository":{"id":181820901,"uuid":"159818422","full_name":"XXpE3/Powershell_Profile","owner":"XXpE3","description":"PowerShell profile.","archived":false,"fork":false,"pushed_at":"2022-09-14T07:44:10.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-09T20:53:57.475Z","etag":null,"topics":["powershell"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XXpE3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-11-30T12:08:59.000Z","updated_at":"2022-03-27T20:09:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1bc6186-5c44-41af-abbf-3bf34c91977e","html_url":"https://github.com/XXpE3/Powershell_Profile","commit_stats":null,"previous_names":["xxpe3/powershell_profile"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/XXpE3/Powershell_Profile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XXpE3%2FPowershell_Profile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XXpE3%2FPowershell_Profile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XXpE3%2FPowershell_Profile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XXpE3%2FPowershell_Profile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XXpE3","download_url":"https://codeload.github.com/XXpE3/Powershell_Profile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XXpE3%2FPowershell_Profile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020650,"owners_count":26086895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["powershell"],"created_at":"2025-04-06T22:36:57.890Z","updated_at":"2025-10-14T19:13:06.435Z","avatar_url":"https://github.com/XXpE3.png","language":"PowerShell","readme":"# 安装\r\n\r\n## 安装 PowerShell 7\r\n\r\n\u003e 支持 PowerShell 7 以上版本\r\n\r\n* [https://github.com/PowerShell/PowerShell/releases](https://github.com/PowerShell/PowerShell/releases)\r\n\r\n## 安装组件\r\n* [PSFzf](https://www.powershellgallery.com/packages/PSFzf)\r\n```powershell\r\nInstall-Module PSFzf -Scope CurrentUser -AllowPrerelease\r\n```\r\n* [Get-ChildItemColor](https://www.powershellgallery.com/packages/Get-ChildItemColor)\r\n```powershell\r\nInstall-Module Get-ChildItemColor -Scope CurrentUser -AllowPrerelease -AllowClobber\r\n```\r\n* [PSReadLine](https://www.powershellgallery.com/packages/PSReadLine)\r\n```powershell\r\nInstall-Module PSReadLine -Scope CurrentUser -AllowPrerelease -Force\r\n```\r\n* [Posh-Git](https://github.com/dahlbyk/posh-git)\r\n```powershell\r\nInstall-Module Posh-Git -Scope CurrentUser -AllowPrerelease\r\n```\r\n* [Scoop](https://scoop.sh)\r\n```powershell\r\nInvoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')\r\n```\r\n* [Oh My Posh](https://ohmyposh.dev)\r\n* [Git](https://git-scm.com)\r\n* [Fzf](https://github.com/junegunn/fzf)\r\n* [Z.lua](https://github.com/skywind3000/z.lua)\r\n```powershell\r\nscoop install https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/oh-my-posh.json\r\nscoop install git\r\nscoop install fzf\r\nscoop install lua\r\nscoop install z.lua\r\n```\r\n\r\n# 使用\r\n\r\n## 快捷键绑定\r\n\r\n| 快捷键    | 说明              | Function              |\r\n| --------- | ----------------- | --------------------- |\r\n| ESC       | 进入 Vi 模式      | Vi                    |\r\n| 上箭头    | 向上翻阅历史命令  | HistorySearchBackward |\r\n| 下箭头    | 向下翻阅历史命令  | HistorySearchForward  |\r\n| Ctrl+p    | 向上翻阅历史命令  | HistorySearchBackward |\r\n| Ctrl+n    | 向下翻阅历史命令  | HistorySearchForward  |\r\n| Ctrl+a    | 跳转到行首        | BeginningOfLine       |\r\n| Ctrl+e    | 跳转到行尾        | EndOfLine             |\r\n| Ctrl+f    | 光标向前移动 1 格 | ForwardChar           |\r\n| Ctrl+b    | 光标向后移动 1 格 | BackwardChar          |\r\n| Alt+f     | 跳转到下个单词    | ForwardWord           |\r\n| Alt+b     | 跳转到上个单词    | BackwardWord          |\r\n| Tab       | 补全              | Complete              |\r\n| Shift+Tab | 弹出补全选择列表  | MenuComplete          |\r\n\r\n## 查看所有快捷键\r\n\r\n```powershell\r\nGet-PSReadLineKeyHandler\r\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxpe3%2Fpowershell_profile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxxpe3%2Fpowershell_profile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxpe3%2Fpowershell_profile/lists"}