hlfw.ca

task

ref: ed65b824f57d31d65ef332dce29b1255759d7542
dir: /README.md/

View raw version
Project-specific namespaces

## Usage

proj [i-] [-n nsdir] [-w wdir] [-s srvfile] project

 - `-i` read project name from stdin
 - `-n` prefix for namespace files. (default `$home/lib/namespace,`)
 - `-w` location of your namespace. (default `/mnt/work`)
 - `-s` srv name. default `/srv/work`

Given a project name, `proj` will set up a namespace based on `$home/lib/namespace.$projectname`. This will post an fd in /srv/work.

## Example namespace

	# assuming project has a docs/ dir with project-specific documents
	bind /path/to/project /mnt/work
	bind -a /path/to/additional/related/resources /mnt/work/docs
	bind -a /path/to/other/resources /mnt/work/docs

Now in any window related to your project, you can `mount /srv/work /mnt/work`
 - Useful for `acme /mnt/work`

See [this post](https://hlfw.ca/blog/2024-08-24-more-setup.html) for inspiration, and further integration.