mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-10 21:30:56 +01:00
We currently detect Git repositories by finding the top level of the working tree, and if we fail to detect it, assume that we're not in a repository. However, there's a case we don't consider: a bare repository. Let's detect if the user is in a bare repository by checking if gitdir is set, and if so, using that if there is no working tree. We now detect bare Git repositories with vcs_info, as expected. |
||
|---|---|---|
| .. | ||
| Calendar | ||
| Chpwd | ||
| Compctl | ||
| Example | ||
| Exceptions | ||
| Math | ||
| MIME | ||
| Misc | ||
| Newuser | ||
| Prompts | ||
| TCP | ||
| VCS_Info | ||
| Zftp | ||
| Zle | ||
| .cvsignore | ||
| .distfiles | ||
| README.zftp | ||
The Zftp directory contains a set of functions acting as a front end to the zftp command, provided as an add-on module. They allow you to perform FTP tasks from within the shell using as many of the shell's own facilities as possible. For more information, see the zshzftpsys manual page.