diff options
Diffstat (limited to 'readme.txt')
-rw-r--r-- | readme.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..ed9568c --- /dev/null +++ b/readme.txt | |||
@@ -0,0 +1,22 @@ | |||
1 | prompt | ||
2 | ------ | ||
3 | |||
4 | fast prompt helper tool to fetch vcs & cwd information, for | ||
5 | use with tmux: | ||
6 | |||
7 | |||
8 | set -g status-left "#(prompt cwd #{pane_current_path})" | ||
9 | set -ag status-left "#(prompt vcs #{pane_current_path})" | ||
10 | |||
11 | |||
12 | usage | ||
13 | ----- | ||
14 | |||
15 | prompt cwd <some_path> | ||
16 | Compresses some_path and stripes $HOME from its | ||
17 | prefix | ||
18 | |||
19 | prompt vcs <some_path> | ||
20 | Fetches git ref (branch shorthand/commit OID), | ||
21 | repo file statuses and commit distance | ||
22 | information | ||