File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,7 @@ themes/command_duration.theme.bash
153153themes/easy
154154themes/essential
155155themes/modern
156+ themes/p4helpers.theme.bash
156157themes/pete
157158themes/powerline
158159themes/pure
Original file line number Diff line number Diff line change 1- #! /usr/bin/env bash
1+ # shellcheck shell= bash
22
33function _p4-opened {
4- timeout 2.0s p4 opened -s 2> /dev/null
4+ timeout 2.0s p4 opened -s 2> /dev/null
55}
66
77function _p4-opened-counts {
8- # Return the following counts seperated by tabs:
9- # - count of opened files
10- # - count of pending changesets (other than defaults)
11- # - count of files in the default changeset
12- # - count of opened files in add mode
13- # - count of opened files in edit mode
14- # - count of opened files in delete mode
15- _p4-opened | awk '
8+ # Return the following counts seperated by tabs:
9+ # - count of opened files
10+ # - count of pending changesets (other than defaults)
11+ # - count of files in the default changeset
12+ # - count of opened files in add mode
13+ # - count of opened files in edit mode
14+ # - count of opened files in delete mode
15+ _p4-opened | awk '
1616 BEGIN {
1717 opened=0;
1818 type_array["edit"]=0;
You can’t perform that action at this time.
0 commit comments