Skip to content

Print compact information about the current git repository

License

Notifications You must be signed in to change notification settings

eric-carlsson/compact-git-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

compact-git-status

A utility for printing compact information about the current git repository.

Inspired by bash-git-prompt, this is a portable reimplementaton that has no external dependencies (except git). The program is used as a command line tool and prints to stdout. You are free to call it however and from wherever you want.

Using in tmux

You can call this utility from tmux to print information about the active pane's git repository to the status bar. For example tmux configuration see below.

set -g status-right "#( compact-git-status --path #{pane_current_path} )"

About

Print compact information about the current git repository

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages