GithubHelp home page GithubHelp logo

🤣使用说明🤣

=================================================

第一步~安装oh-my-posh皮肤

  • 安装模块
    Install-Module oh-my-posh
  • 获取皮肤
    Get-PoshThemes
  • 更新模块
    Update-Module oh-my-posh
  • 卸载模块
    Uninstall-Module oh-my-posh -Force

第二步~配置用户环境

  • 修改脚本策略
    Set-ExecutionPolicy RemoteSigned
  • 创建配置文件
    if (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force }
  • 写入脚本保存
    notepad $profile

第三步~安装nerd或powerline字体

  • 这两种字体均在github上开源,楼主使用的是DejaVuSansMono Nerd Font或Cousine Nerd Font,这两套字体支持的图标比较全。
  • nerd字体
    powerline字体

=================================================

一些问题

  • Q:有些特殊符号为什么显示不出来?
  • A:因为oh-my-posh主题中包含着各种角标和字体,需要nerd字体或者powerline字体支持。下载字体压缩包-解压-选中字体-为所有用户安装-设置控制台属性-默认-字体-Meslo Nerd Font。
  • Q:怎么样才能永久设置皮肤?
  • A:主题最终呈现的效果,均在$profile文件中。用记事本打开,写入设置皮肤命令Set-PoshPrompt -Theme nu4a,保存。可参考楼主配置文件$profile

ltj's Projects

nerd-fonts icon nerd-fonts

Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more

ps1 icon ps1

美化win10的命令提示符powershell~内核咱们写不了,但是咱们可以让壳更酷炫!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.