百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

shelby

> 编程语言
开源

Shelby 是一款快速⚡️、轻量级☁️、简洁✨的 Go 编写的 shell 提示符。

196 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Shelby 是一款快速⚡️、轻量级☁️、简洁✨的 Go 编写的 shell 提示符。

Shelby is a fast ⚡️ ,lightweight ☁️ ,minimal✨, shell prompt written in Pure Go.


Installation

Follow the steps below(Linux and macOS), and Post Installation Instructions

  • Run with https://gobinaries.com
bash
$ curl -sf https://gobinaries.com/athul/shelby | sh

OR For macOS Users, install via Homebrew

bash
brew install athul/tap/shelby

OR

  • Download the binary from the WorkFlow Artifacts(Only for Linux)
  • You might wanto to make the binary executable, run chmod +x
  • Move the Binary to /usr/local/bin/

Build From Source

  • Clone the Repo
  • Run go get -v
  • Run go build
  • Move the Binary to ~/.local/bin/shelby

Post Installation Instructions

You must have to add the below code to either the .bashrc or .zshrc or .profile file inorder to Shelby to fully work.

The prompt symbol is ❯ and changes to red if the previous command exited with an error.

Bash

Add this to your .bashrc file:

bash
eval "$(shelby init bash)"

Zsh

Add this to your .zshrc file:

bash
eval "$(shelby init zsh)"

Extra Bits

  • Displays the Current Git Branch
  • ✔ shows if any staged files are present
  • [+] shows if you've got Untracked Files
    • [2+] shows if you've got 2 untracked files
  • [!] shows if you've got Unstaged Files
    • [3!] shows if you've got 3 unstaged files
  • ↑ if your HEAD is ahead
  • ↓ if your HEAD is behind
  • ⇅ if your HEAD is diverged
  • Dispalys any VirtualENVs you're working in
  • Displays Username and Hostname of the machine while in SSH
  • Small Size(~=2MB)

Inspired From

  • StarShip by @matchai
  • SpaceShip by @denysdovhan

Code reused from :heart:

  • Mímir by @talal
  • Powerline-Go by @justjanne

Support My work

Donation: UPI ID: athul8720@oksbi

Logo Made by Sreeram aka @fillerink

The Installation Script can be found at https://github.com/athul/autom

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Gofastgolangminimalprompt

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言