aboutsummaryrefslogtreecommitdiff
path: root/readme.txt
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-01-29 17:15:16 +0000
committerAkshay <[email protected]>2022-01-29 17:15:16 +0000
commit4d3e72f5f03b5a0db1d69f262990a0519a9d8947 (patch)
treed9c8863ad310382fe24c4227ca1281e51e411e93 /readme.txt
parent28b78e2cdc43fd8d0dbf35c3c79cf1b048f73f75 (diff)
add readme
Diffstat (limited to 'readme.txt')
-rw-r--r--readme.txt22
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 @@
1prompt
2------
3
4fast prompt helper tool to fetch vcs & cwd information, for
5use 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
12usage
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