ohmyksh/extensions/openbsd.org

16 lines
1.1 KiB
Org Mode
Raw Normal View History

2020-07-19 08:36:10 -06:00
* openbsd
This extension adds a number of useful OpenBSD specific tools.
The following functions are added:
| Name | Purpose |
|-------------+-----------------------------------------------------------------------------------------------------|
| cdw() | Intended to be used from a port directory. Will change directory to ~$WRKSRC~. |
| maintains() | Similar to ~port()~, this will display the ~$MAINTAINER~ of a port passed in as the first argument. |
2020-07-19 08:42:25 -06:00
| pclean() | Remove ~.orig~ and empty files from ~$CWD~. |
| port() | Like ~src()~, but for ~/usr/ports~. |
2020-07-19 08:36:10 -06:00
| seq() | A shell implementation of Linux's [[https://linux.die.net/man/1/seq][seq(1)]] command. It supports alpha and numeric ranges. |
2020-07-19 08:42:25 -06:00
| src() | Similar to plan9's [[http://man.9front.org/1/src][src(1)]] command. It drops you to ~/usr/src/*/<arg 1>~. |
2020-07-19 08:36:10 -06:00