| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
- Reduce executing external commands
- Reduce escape characters
|
| |
|
|
|
|
|
| |
The option of stat on macOS/BSD is wrong. So cache is always purged and
cache is always recreated so it is really slow.
Use 'zstat' module instead stat command for portability.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Subcommand descriptions are from upstream man pages [1][2][3].
[1] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-bump.1.txt
[2] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-diagnose.1.txt
[3] https://github.com/macports/macports-base/blob/v2.6.0/doc/port-reclaim.1.txt
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Apple renamed "Mac OS X" to "macOS" in 2016.
* Replace instances of "OSX"/"OS X"/etc. with "macOS" in comments to reflect the change.
* There are additional references to things like "osx" in functional code which are left unchanged.
* Grammatical changes due to the initial letter changing from a vowel to a consonant (o => m) in some places.
* Fix a unrelated minor grammatical issue.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Add completions for outdated, sync and selfupdate subcommands.
|
| |
|
|
|
| |
If we have only one function to call fro completion, just call it. Also, remove
local declaration, since we don't use the ->string form.
|
| |
|
|
|
| |
This compares modification times of the main PortIndex for all ports and
registry.db for installed ports.
|
| |
|
|
|
| |
The -q flag suppresses any output other than port names, eliminating the need to
further modify output.
|
| |
|
|
|
| |
The caching policy style for _port can be set in _port_dispatch, as it is the
one that uses caching.
|
| |
|
|
| |
Also, remove targets used only in interactive mode, like 'exit' or 'cd'
|
| |
|
|
|
| |
When upgrading, pseudo-portnames can be used. Also, add upgrade options to
completion choices.
|
| | |
|
| |
|
|
|
| |
This fixes a copy-paste error when we completed any port name instead of
installed ones
|
| | |
|
| | |
|
| |
|
|
| |
I can't call a function from _arguments
|
| |
|
|
| |
Call a dispatch function instead, simplifying the nested select case.
|
| | |
|
| | |
|
| |
|
|
| |
Port upgrade completes only outdated ports.
|
| |
|
|
| |
Use _message instead of _guard when completing the search pattern.
|
| |
|
|
|
| |
This checks modification dates of the repository database and completion cache
and refreshes the latter if it is older than the database.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Port command completion got smarter. It can now complete paths for the
provides subcommand, and complete pseudo-portnames.
It will complete all ports or only installed ones (for example, when
completing for the uninstall command).
It will complete the select subcommand with appropriate values.
|
|
|
avoid bloating users fpath with unneeded files such as README.md)
|