starship主题配置

详细安装教程:https://starship.rs/
模块配置教程:https://starship.rs/config/

配置需要安装nerdfont:https://www.nerdfonts.com/
配置文件中的乱码字符是nerdfont里面的特殊字符,类似>

使用starship.exe config,打开配置文件

[username]
format = "[$user](fg:white bg:236)"
disabled = false
show_always = true
[hostname]
ssh_only = false
format =  "[@$hostname](fg:white bg:236)[
](fg:236 bg:45)"
trim_at = ".companyname.com"
disabled = false
[directory]
home_symbol="~"
read_only=""
format="[$path](fg:234 bg:45)[](fg:45)"

使用Windows Terminal的主题配色默认设置:

"profiles": 
    {
        "defaults": {
            "cursorShape": "filledBox",
            "hidden": false,
            "startingDirectory" : ".",
            "colorScheme": "One Half Dark",
            "cursorColor": "#ffffff",
            "fontFace": "CaskaydiaCove NF",
            "fontSize": 12,
            "useAcrylic": true,
            "acrylicOpacity": 0.7,
            "suppressApplicationTitle": true,
            "padding": "16, 16, 16, 16"
        },
        // 省略其他配置显示
   }

效果:
在这里插入图片描述

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值