Skip to content

g5pw/port-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#port-wrapper

port-wrapper is a script for MacPorts, aimed mainly at maintainers, trying to ease their workflow.

What's included?

Right now the wrapper supports only ZSH and has:

  • Aliases, defined in $XDG_CONFIG_DIR/port-wrapper/aliases.conf
  • Auto-sudo on subcommands requiring it
  • Remembers last port expression, recall using '.'
  • Other scripts:
    • port-copy-checksum: prints and copies to system clipboard the port checksum
    • port-exists: Prints error message if supplied port does not exist (used for plumbing)
    • port-lg: Port log with pager
    • port-maintainer-update: This should streamline simple port updates
    • port-svn-commit: easy way to commit a port file
    • port-svn-diff: easy way to diff a port file
  • Shell functions:
    • port-cd: simple way to cd to port directory

Installing

To install just execute:

make install

and then add

source $PREFIX/share/port-wrapper/port-wrapper.zsh

somewhere in your zshrc.

The default prefix is /usr/local.

About

port-wrapper is a port wrapper

Resources

License

Stars

Watchers

Forks

Packages

No packages published