prompt ------ fast prompt helper tool to fetch vcs & cwd information, for use with tmux: set -g status-left "#(prompt cwd #{pane_current_path})" set -ag status-left "#(prompt vcs #{pane_current_path})" usage ----- prompt cwd Compresses some_path and stripes $HOME from its prefix prompt vcs Fetches git ref (branch shorthand/commit OID), repo file statuses and commit distance information