Skip to content
/ p9p Public

Personal plan9port configuration and scripts.

Notifications You must be signed in to change notification settings

xmonk/p9p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plan9port Configuration

This is my personal plan9port configuration. It works across all platforms supported by plan9port.

Installation

$ cd $HOME
$ git clone https://github.com/xmonk/p9p.git .p9p

Then add the following to your .bashrc:

if [ -d $HOME/.p9p ]; then
    . $HOME/.p9p/rc
fi

Apply the changes and optionally run the install script:

$ . $HOME/.bashrc
$ ./.p9p/install    # Optional

macOS-specific Features

If you're using macOS, the install script will:

  • Install Plumb.app, 9term.app, Acme.app and Sam.app in /Applications
  • Download and install useful tools from GitHub
  • Generate a LaunchAgent for acme-lsp (if installed)

Using acme-lsp with the alsp Command

The alsp command provides a convenient interface for managing acme-lsp:

$ alsp -h    # Show help and available options

Common operations:

$ alsp -L    # Load the acme-lsp launch agent
$ alsp -s    # Start acme-lsp (requires acme to be running)
$ alsp -t    # Check if acme-lsp is running
$ alsp -T    # View recent log entries
$ alsp -o    # Show paths to log files

You can also use other options like -S to stop the service, -r to restart it, and -c to truncate log files.

The configuration ensures log directories exist when starting the service, making it easier to manage your acme-lsp environment.

About

Personal plan9port configuration and scripts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published