File: VCS_INFO_get_cmd

package info (click to toggle)
zsh 5.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,856 kB
  • sloc: ansic: 108,138; sh: 6,976; makefile: 722; perl: 687; awk: 291; sed: 16
file content (6 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
## vim:ft=zsh
# find out if the user wants us to use a special binary.
# the default command name is the same as the backend name.
local cmd
zstyle -s ":vcs_info:${vcs}:${usercontext}:${rrn}" "command" cmd
vcs_comm[cmd]=${cmd:-$vcs}