Browse Source

Adding an alias for 'show current changelist number'

Sam Jaffe 6 năm trước cách đây
mục cha
commit
a91227cbda
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      profile-p4

+ 1 - 0
profile-p4

@@ -15,6 +15,7 @@ alias p4c="p4 client"
 alias p4i="p4 integrate"
 alias p4grab="p4 diff -se | p4 -x - edit"
 alias p4reset="p4 diff -sr | p4 -x - revert"
+alias p4pending="p4 changes -c \$(. .p4rc; echo \$P4CLIENT) -s pending | awk '{print \$2}'"
 
 p4whose() {
   if [[ $# -ne 1 ]]; then return 1; fi