PowerShell 美化

  • 下载安装 Chocolatey

  • 安装 PsGet,在 PowerShell 中输入:

    (new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex
    
  • 在 PowerShell 中,用PsGet安装posh-gitoh-my-posh

    Install-Module posh-git
    Install-Module oh-my-posh
    
  • 设置oh-my-posh主题

    Set-Theme paradox
  • 创建 PowerShell 配置文件

    Test-path $profile
    //如显示false,使用以下命令手动创建
    New-item –type file –force $profile
    //如显示true,使用以下命令打开配置文件编辑
    Notepad $profile
    
    //在配置文件中加入 oh-my-posh 主题设置
    Set-Theme Honukai
    
    //保存关闭,重启PowerShell
    
  • 效果图

效果图

  • 所有软件链接

Chocolatey
PsGet
Oh-My-Posh
Posh-Git

PS: 想省事懒得捣鼓, 直接安装Cmder http://cmder.net/

Cmder

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值