aboutsummaryrefslogtreecommitdiff
path: root/readme.txt
blob: ed9568c24e69a25211bc84283d3ce62b4a6b5b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 <some_path>
          Compresses some_path and stripes $HOME from its
          prefix

    prompt vcs <some_path>
          Fetches git ref (branch shorthand/commit OID),
          repo file statuses and commit distance
          information