Skip to content

Deployment

cvrt-jh edited this page Mar 15, 2026 · 1 revision

Deployment

Build

cargo build --release
# Binary: target/release/qs (~1.3MB, stripped + LTO)

Local Install

cp target/release/qs /opt/homebrew/bin/qs

Homebrew Formula

The formula is at Formula/tmux-quickselect.rb. It builds from source using cargo install.

Release Process

  1. Update version in Cargo.toml
  2. Update tag + revision SHA in Formula/tmux-quickselect.rb
  3. Commit and push
  4. Create tag: git tag v<version> && git push origin v<version>
  5. Create GitHub release: gh release create v<version> --title "v<version>" --notes "..."

Shell Integration

After installing the binary, source the shell wrapper:

Zsh (~/.zshrc):

source /opt/homebrew/share/tmux-quickselect/shell/qs.zsh
# Or from repo:
source ~/Git/cvrt-jh/tmux-quickselect/shell/qs.zsh

Bash (~/.bashrc):

source /opt/homebrew/share/tmux-quickselect/shell/qs.bash

Nushell (~/.config/nushell/config.nu):

source /opt/homebrew/share/tmux-quickselect/shell/qs.nu

Config Location

Copy default config to user config dir:

mkdir -p ~/.config/tmux-quickselect
cp config.toml ~/.config/tmux-quickselect/config.toml

Clone this wiki locally