mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +01:00
users/13252 and elsewhere: Frank Terbeck plus tweaks:
add VCS_Info function system
This commit is contained in:
parent
d9f1432e07
commit
23f2b4503c
41 changed files with 1119 additions and 3 deletions
9
Functions/VCS_Info/Backends/VCS_INFO_detect_p4
Normal file
9
Functions/VCS_Info/Backends/VCS_INFO_detect_p4
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
## vim:ft=zsh
|
||||
## perforce support by: Phil Pennock
|
||||
## Distributed under the same BSD-ish license as zsh itself.
|
||||
|
||||
[[ -n ${P4CONFIG} ]] || return 1
|
||||
VCS_INFO_check_com p4 || return 1
|
||||
vcs_comm[detect_need_file]="${P4CONFIG}"
|
||||
VCS_INFO_bydir_detect .
|
||||
return $?
|
||||
Loading…
Add table
Add a link
Reference in a new issue