mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
9efd10cd2a
vim recognises what type of shell script it's dealing with by looking at the shebang. If detection fails it falls back to sh which doesn't support some bash features. Adding a normal, possibly broken, shebang which gets fixed by the Makefile allows vim to detect bash syntax. Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Dan McGee <dan@archlinux.org> |
||
---|---|---|
.. | ||
.gitignore | ||
bacman.in | ||
bash_completion.in | ||
Makefile.am | ||
pacdiff.in | ||
paclist.in | ||
pacscripts.in | ||
pacsearch.in | ||
PKGBUILD.vim | ||
README | ||
vimprojects | ||
zsh_completion.in |
Here is a brief description of the files included in this directory: PKGBUILD.vim - a vim/gvim syntax file for PKGBUILDs. Colors known variable names, highlights common errors such as invalid characters in pkgname or pkgver, etc. bash_completion - a bash completion script for pacman, install in /etc/bash_completion.d/ for use (but rename to something descriptive!). zsh_completion - a zsh completion script, install (with a rename) to /usr/share/zsh/site-functions/. pacdiff - a simple pacnew/pacorig/pacsave updater for /etc/. paclist - list all packages installed from a given repository. Useful for seeing which packages you may have installed from the testing repository, for instance. pacscripts - tries to print out the {pre,post}_{install,remove,upgrade} scripts of a given package. pacsearch - a colorized search combining both -Ss and -Qs output. Installed packages are easily identified with a *** and local-only packages are also listed. bacman - regenerate a pacman package based on installed files and the pacman database entries. Useful for reuse, or possible config file extension. vimprojects - a project file for the vim project plugin.