Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

License

NotificationsYou must be signed in to change notification settings

athul/shelby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusGo Report Card

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


Installation

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

$ curl -sf https://gobinaries.com/athul/shelby| sh

ORFormacOS Users, install viaHomebrew

brew install athul/tap/shelby

OR

  • Download the binary from theWorkFlow Artifacts(Only for Linux)
  • You might wanto to make the binary executable, runchmod +x <binary_name>
  • Move the Binary to/usr/local/bin/

Build From Source

  • Clone the Repo
  • Rungo get -v
  • Rungo 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 previouscommand exited with an error.

Bash

Add this to your.bashrc file:

eval"$(shelby init bash)"

Zsh

Add this to your.zshrc file:

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
  • DisplaysUsername andHostname of the machine while in SSH
  • Small Size(~=2MB)

Inspired From

Code reused from ❤️

Support My work

Donations

Donation: UPI ID:athul8720@oksbi

Logo Made bySreeram aka @fillerink

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp