Skip to content

sbstnc/git-status-prompt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gondolin Prompt

A blatant rip-off of Git Super Status II Turbo: Hyper Fighting.

This version aims to replicate the design of Gondolin minus the time since last commit info.

Configuration

You can configure this by modifying config.h.in. The colors are handled by rang and should work pretty much everywhere, including Windows systems.

How to Use

  1. Make sure you have the required dependencies. You need:
    • libgit2
    • cxxopts
    • rang
  2. Install cmake.
  3. Clone this repository.
  4. Inside the cloned repo do
    mkdir build
    cd build
    cmake -DCMAKE_BUILD_TYPE=Release ..
    make
    cp git_status_prompt /usr/local/bin
    
  5. Add the following snippet to your config.fish
    function fish_prompt
      git_status_prompt -c --status $status
    end
    

License

MIT

Releases

No releases published

Packages

No packages published

Languages

  • C++ 63.9%
  • CMake 35.3%
  • Objective-C 0.8%