# oh-my-posh **Repository Path**: ylchenxd/oh-my-posh ## Basic Information - **Project Name**: oh-my-posh - **Description**: oh-my-posh 修改所有依赖github地址的链接,重定向到本仓库地址 - **Primary Language**: Shell - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-10-19 - **Last Updated**: 2023-10-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![Release Status][release-status] [![Release][release-badge]][release] [![Documentation][docs-badge]][docs] ![GitHub Downloads][gh-downloads] ![Twitter][twitter] This repo was made with love using GitKraken. ## 本仓库修改说明: 国内访问github内容不是很稳定,因此做了本仓库的国内镜像。其他repo镜像一般不对文件里的github链接做修改,导致clone下来也无法安装。 这里统一将仓库中链接到github的内容全部转成国内链接,方便国内用户使用。 - 修改了主题json文件中,$shema指向github的全部链接,将其转换为gitee链接 - 添加了install.ps1脚本。 oh-my-posh官网推荐的几种下载方式分别为winget, scoop, manual。winget通过github下载,放弃;scoop需要额外安装,不确定是否可用;这里选择manual安装。 官网提供的install.ps1文件中包含github链接,需要修改。因此自行修改了install.ps1的脚本内容,放在仓库中使用。 不知道gitee怎么生成latest链接,目前固定指向V12.5版本。 ### ♥ 安装方法 ♥ ```shell Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://gitee.com/ylchenxd/oh-my-posh/raw/main/install.ps1')) ``` [![GitKraken shield][kraken]][kraken-ref] What started as the offspring of [oh-my-posh2][oh-my-posh2] for PowerShell resulted in a cross platform, highly customizable and extensible prompt theme engine. After 4 years of working on oh-my-posh, a modern and more efficient tool was needed to suit my personal needs. ## ❤ Support ❤ [![Swag][swag-badge]][swag] - Show your love with a t-shirt! [![GitHub][github-badge]][github-sponsors] - One time support, or a recurring donation? [![Ko-Fi][kofi-badge]][kofi] - No coffee, no code. ## Features * Shell and platform agnostic * Easily configurable * The **most** configurable prompt utility * Fast * Secondary prompt * Right prompt * Transient prompt ## Documentation [![Documentation][docs-badge]][docs] ## Thanks * [Chris Benti][chrisbenti-psconfig] for providing the first influence to start oh-my-posh * [Keith Dahlby][keithdahlby-poshgit] for creating posh-git and making life more enjoyable * [Robby Russel][oh-my-zsh] for creating oh-my-zsh, without him this would probably not be here * [Janne Mareike Koschinski][justjanne] for providing information on how to get certain information using Go (and the amazing [README][powerline-go]) * [Starship][starship] for creating an amazing way to initialize the prompt [release-status]: https://img.shields.io/github/workflow/status/jandedobbeleer/oh-my-posh/Release?label=Build [gh-downloads]: https://img.shields.io/github/downloads/jandedobbeleer/oh-my-posh/total?color=pink&label=GitHub%20Downloads [twitter]: https://shields.io/twitter/follow/jandedobbeleer?label=Follow [kraken]: https://img.shields.io/badge/GitKraken-Legendary%20Git%20Tools-teal?style=plastic&logo=gitkraken [kraken-ref]: https://www.gitkraken.com/invite/nQmDPR9D [oh-my-posh2]: https://github.com/JanDeDobbeleer/oh-my-posh2 [swag-badge]: https://img.shields.io/badge/Swag-Get%20some!-blue [swag]: https://swag.ohmyposh.dev [github-badge]: https://img.shields.io/badge/-Sponsor-fafbfc?logo=GitHub%20Sponsors [github-sponsors]: https://github.com/sponsors/JanDeDobbeleer [kofi-badge]: https://img.shields.io/badge/Ko--fi-Buy%20me%20a%20coffee!-%2346b798.svg [kofi]: https://ko-fi.com/jandedobbeleer [docs-badge]: https://img.shields.io/badge/Docs-ohmyposh.dev-blue [docs]: https://ohmyposh.dev [release-badge]: https://img.shields.io/github/v/release/jandedobbeleer/oh-my-posh?label=Release [release]: https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest [chrisbenti-psconfig]: https://github.com/chrisbenti/PS-Config [keithdahlby-poshgit]: https://github.com/dahlbyk/posh-git [oh-my-zsh]: https://github.com/robbyrussell/oh-my-zsh [justjanne]: https://github.com/justjanne [powerline-go]: https://github.com/justjanne/powerline-go [starship]: https://github.com/starship/starship/blob/master/src/init/mod.rs