V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
whisky221
V2EX  ›  git

Git Bash 样式配置求推荐

  •  
  •   whisky221 · 2020-05-04 16:46:57 +08:00 · 4463 次点击
    这是一个创建于 1452 天前的主题,其中的信息可能已经有所发展或是发生改变。

    闲来摸鱼,想给小黑框换个样子,想看看大家 Windows 下的配置

    11 条回复    2020-05-05 08:22:52 +08:00
    jdhao
        1
    jdhao  
       2020-05-04 17:47:54 +08:00 via Android   ❤️ 1
    直接用 cmder,默认带 git for windows,主题很多,美滋滋,没必要单独下载 git bash
    burringcat
        2
    burringcat  
       2020-05-04 17:55:32 +08:00
    我用 alacritty 加 powershell 。。不用 bash
    oneisall8955
        3
    oneisall8955  
       2020-05-04 18:21:31 +08:00 via Android
    ConEmu,自己可以选不同的 terminal 不同配色
    NanJi
        4
    NanJi  
       2020-05-04 19:42:25 +08:00
    微软新出的终端了解一下
    ps1aniuge
        5
    ps1aniuge  
       2020-05-04 20:06:58 +08:00
    藏脚阁,上经楼,上完青楼上经楼。
    一成脚本在你手,九九脚本阁中藏。
    ps 能做菜,ps 能造轮,蔡伦不造纸,专做 ps 菜+ps 轮:
    藏脚阁=ps 画廊=微软官方的 [ps 第三方模块仓库] 下载市场。
    https://www.powershellgallery.com/
    藏脚阁里全都是轮子,我们只需要当轮子的搬运工,使用者。
    今日分享的轮子:

    win 中,powershell 的 git 模块
    https://github.com/dahlbyk/posh-git


    很漂亮的 powershell+git 命令行:
    https://github.com/JanJoris/oh-my-posh

    另一个 powershell git:
    https://github.com/chrisbenti/PS-Config

    网友小马哥写的文章《美化 PowerShell 控制台字体》
    https://coolcode.org/2018/03/16/how-to-make-your-powershell-beautiful/

    命令行中文字体,我推荐我购买的,网友 diy 的字体。
    chizuo
        6
    chizuo  
       2020-05-04 21:45:54 +08:00
    可以把 git bash 添加到 windows terminal 中。这样美观,还可以使用 git bash 的环境
    maketime4life
        7
    maketime4life  
       2020-05-04 23:52:31 +08:00
    改 C:\Users\[用户名]\.minttyrc

    颜色
    可以自己配置:ciembor.github.io/4bit/
    也可以下载别人配置好的: https://gist.github.com/appikonda/34bf60df4253c430c4ee3254cfc0be83

    再加上字体和窗口默认宽高的配置
    maketime4life
        8
    maketime4life  
       2020-05-05 00:11:06 +08:00
    还有个 Dracula 主题的:
    https://draculatheme.com/mintty/
    ClericPy
        9
    ClericPy  
       2020-05-05 00:17:13 +08:00
    平时有点受不了 cmder 启动初始化速度(尽可能优化了, 也要超过半秒, 有时候都超过 1 秒)

    以及服务器上强依赖 tmux (cmder 经典 redraw 乱码 bug, n 年没修好, 据说是 upstream 那边底层 bug, 无解, 就算在 cmder 里换了其它终端一样没用)

    所以平时 git bash 备用, 用的自带 nord 主题够使了
    whisky221
        10
    whisky221  
    OP
       2020-05-05 01:17:59 +08:00
    @maketime4life
    @ps1aniuge
    感谢两位提供的资源,
    以及楼上所有分享意见的各位。
    yazoox
        11
    yazoox  
       2020-05-05 08:22:52 +08:00 via Android
    学习一下
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5183 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 09:34 · PVG 17:34 · LAX 02:34 · JFK 05:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.