Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
544dfdd6
Commit
544dfdd6
authored
Oct 03, 2018
by
Sebastian Müller
Committed by
Marc Cornellà
Oct 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macports: add README (#7204)
parent
2e0a5cbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
3 deletions
+22
-3
README.md
plugins/macports/README.md
+21
-0
macports.plugin.zsh
plugins/macports/macports.plugin.zsh
+1
-3
No files found.
plugins/macports/README.md
0 → 100644
View file @
544dfdd6
# Macports plugin
This plugin adds completion for the package manager
[
Macports
](
https://macports.com/
)
,
as well as some aliases for common Macports commands.
To use it, add
`macports`
to the plugins array in your zshrc file:
```
zsh
plugins
=(
... macports
)
```
## Aliases
| Alias | Command | Description |
|-------|------------------------------------|--------------------------------------------------------------|
| pc |
`sudo port clean --all installed`
| Clean up intermediate installation files for installed ports |
| pi |
`sudo port install`
| Install package given as argument |
| psu |
`sudo port selfupdate`
| Update ports tree with MacPorts repository |
| puni |
`sudo port uninstall inactive`
| Uninstall inactive ports |
| puo |
`sudo port upgrade outdated`
| Upgrade ports with newer versions available |
| pup |
`psu && puo`
| Update ports tree, then upgrade ports to newest versions |
plugins/macports/macports.plugin.zsh
View file @
544dfdd6
#Aliases
alias
pc
=
"sudo port clean --all installed"
alias
pi
=
"sudo port install
$1
"
alias
pi
=
"sudo port install"
alias
psu
=
"sudo port selfupdate"
alias
puni
=
"sudo port uninstall inactive"
alias
puo
=
"sudo port upgrade outdated"
alias
pup
=
"psu && puo"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment