首页 开发技术 其它     /    powerline-go:用go编写的漂亮而有用的低延迟提示-源码

powerline-go:用go编写的漂亮而有用的低延迟提示-源码

上传者: weixin_42109125 | 上传时间:2023/9/23 11:54:19 | 文件大小:163KB | 文件类型:ZIP
powerline-go:用go编写的漂亮而有用的低延迟提示-源码
外壳的电源线样式提示提示Bash,ZSH和Fish。
基于@banga的。
@justjanne将其移植到golang。
显示有关git/hg分支的一些重要详细信息(请参见下文)如果最后一个命令以失败代码退出,则更改颜色如果您太深了目录树,请用省略号缩短显示的路径显示当前的Python环境使用显示当前的Ruby版本显示您是否在shell中易于定制和扩展。
有关详情,请参见下文。
目录版本控制电力线外壳支持的所有版本控制系统使您可以快速了解回购的状态:当前分支显示时会变脏,并更改背景颜色。
当本地分支与远程分支不同时,将显示提交数量的差异以及⇡或⇣指示是否有gitpush或pull挂起另外,git还有一些额外的符号:✎文件已被修改,但未上载提交:heavy_check_mark:暂存文件以进行提交✼文件有冲突+-存在未跟踪的文件⚑存在藏匿处如果有多个文件匹配,则每个文件旁边都会有一个数字。
安装需要Go1.12+powerline-go使用ANSI颜色代码,如今这些颜色在任何地方都可以使用,但是您可能必须将$TERM设

文件下载

资源详情

[{"title":"(70个子文件163KB)powerline-go:用go编写的漂亮而有用的低延迟提示-源码","children":[{"title":"powerline-go-master","children":[{"title":"generatePreview.sh <span style='color:#111;'>1.25KB</span>","children":null,"spread":false},{"title":"user-is-admin.go <span style='color:#111;'>105B</span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'>433B</span>","children":null,"spread":false},{"title":"segment-cwd.go <span style='color:#111;'>6.50KB</span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'>6.31KB</span>","children":null,"spread":false},{"title":".github","children":[{"title":"ISSUE_TEMPLATE","children":[{"title":"bug_report.md <span style='color:#111;'>661B</span>","children":null,"spread":false},{"title":"feature_request.md <span style='color:#111;'>604B</span>","children":null,"spread":false}],"spread":true},{"title":"workflows","children":[{"title":"release.yml <span style='color:#111;'>3.06KB</span>","children":null,"spread":false},{"title":"build.yml <span style='color:#111;'>2.48KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"segment-newline.go <span style='color:#111;'>163B</span>","children":null,"spread":false},{"title":"segment-load.go <span style='color:#111;'>620B</span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'>2.48KB</span>","children":null,"spread":false},{"title":"segment-plenv.go <span style='color:#111;'>351B</span>","children":null,"spread":false},{"title":"segment-aws.go <span style='color:#111;'>456B</span>","children":null,"spread":false},{"title":"segment-docker.go <span style='color:#111;'>641B</span>","children":null,"spread":false},{"title":"segment-bzr.go <span style='color:#111;'>1.57KB</span>","children":null,"spread":false},{"title":"powerline","children":[{"title":"powerline.go <span style='color:#111;'>1.39KB</span>","children":null,"spread":false}],"spread":false},{"title":"args.go <span style='color:#111;'>8.25KB</span>","children":null,"spread":false},{"title":"powerline.go <span style='color:#111;'>11.51KB</span>","children":null,"spread":false},{"title":"segment-time.go <span style='color:#111;'>289B</span>","children":null,"spread":false},{"title":"powerline_test.go <span style='color:#111;'>561B</span>","children":null,"spread":false},{"title":"preview.png <span style='color:#111;'>95.15KB</span>","children":null,"spread":false},{"title":"themes.go <span style='color:#111;'>2.48KB</span>","children":null,"spread":false},{"title":"segment-shenv.go <span style='color:#111;'>351B</span>","children":null,"spread":false},{"title":"segment-wsl.go <span style='color:#111;'>590B</span>","children":null,"spread":false},{"title":"segment-username.go <span style='color:#111;'>543B</span>","children":null,"spread":false},{"title":"segment-rbenv.go <span style='color:#111;'>2.37KB</span>","children":null,"spread":false},{"title":"segment-perlbrew.go <span style='color:#111;'>402B</span>","children":null,"spread":false},{"title":"segment-ssh.go <span style='color:#111;'>504B</span>","children":null,"spread":false},{"title":"segment-virtualenv.go <span style='color:#111;'>738B</span>","children":null,"spread":false},{"title":"segment-subversion.go <span style='color:#111;'>3.94KB</span>","children":null,"spread":false},{"title":"segment-goenv.go <span style='color:#111;'>2.46KB</span>","children":null,"spread":false},{"title":"segment-nix-shell.go <span style='color:#111;'>397B</span>","children":null,"spread":false},{"title":"defaults.go <span style='color:#111;'>29.01KB</span>","children":null,"spread":false},{"title":"segment-gitlite.go <span style='color:#111;'>785B</span>","children":null,"spread":false},{"title":"segment-termtitle.go <span style='color:#111;'>894B</span>","children":null,"spread":false},{"title":"LICENSE.md <span style='color:#111;'>31.44KB</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>15.94KB</span>","children":null,"spread":false},{"title":"segment-readonly.go <span style='color:#111;'>404B</span>","children":null,"spread":false},{"title":"segment-fossil.go <span style='color:#111;'>1.65KB</span>","children":null,"spread":false},{"title":"segment-gcp.go <span style='color:#111;'>530B</span>","children":null,"spread":false},{"title":"segment-plugin.go <span style='color:#111;'>496B</span>","children":null,"spread":false},{"title":"segment-docker_context.go <span style='color:#111;'>1.02KB</span>","children":null,"spread":false},{"title":"segment-dotenv.go <span style='color:#111;'>498B</span>","children":null,"spread":false},{"title":"exitcode","children":[{"title":"exitcode_netbsd.go <span style='color:#111;'>618B</span>","children":null,"spread":false},{"title":"exitcode_dragonfly.go <span style='color:#111;'>622B</span>","children":null,"spread":false},{"title":"exitcode_solaris.go <span style='color:#111;'>768B</span>","children":null,"spread":false},{"title":"exitcode_darwin.go <span style='color:#111;'>601B</span>","children":null,"spread":false},{"title":"exitcode_openbsd.go <span style='color:#111;'>619B</span>","children":null,"spread":false},{"title":"exitcode_windows.go <span style='color:#111;'>96B</span>","children":null,"spread":false},{"title":"exitcode_freebsd.go <span style='color:#111;'>637B</span>","children":null,"spread":false},{"title":"exitcode_linux.go <span style='color:#111;'>603B</span>","children":null,"spread":false}],"spread":false},{"title":"segment-vgo.go <span style='color:#111;'>358B</span>","children":null,"spread":false},{"title":"segment-git.go <span style='color:#111;'>6.79KB</span>","children":null,"spread":false},{"title":"segment-shellvar.go <span style='color:#111;'>627B</span>","children":null,"spread":false},{"title":"segment-root.go <span style='color:#111;'>506B</span>","children":null,"spread":false},{"title":"segment-kube.go <span style='color:#111;'>3.06KB</span>","children":null,"spread":false},{"title":"segment-node.go <span style='color:#111;'>725B</span>","children":null,"spread":false},{"title":"segment-duration.go <span style='color:#111;'>2.31KB</span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'>154B</span>","children":null,"spread":false},{"title":"user-is-admin_windows.go <span style='color:#111;'>481B</span>","children":null,"spread":false},{"title":"segment-hostname.go <span style='color:#111;'>1.48KB</span>","children":null,"spread":false},{"title":"segment-terraform_workspace.go <span style='color:#111;'>571B</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>299B</span>","children":null,"spread":false},{"title":"segment-readonly_windows.go <span style='color:#111;'>510B</span>","children":null,"spread":false},{"title":"segment-hg.go <span style='color:#111;'>1.47KB</span>","children":null,"spread":false},{"title":"segment-exitcode.go <span style='color:#111;'>895B</span>","children":null,"spread":false},{"title":"segment-jobs.go <span style='color:#111;'>338B</span>","children":null,"spread":false},{"title":"config.go <span style='color:#111;'>3.40KB</span>","children":null,"spread":false},{"title":"themes","children":[{"title":"default.json <span style='color:#111;'>5.27KB</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明