colem 28582d56c0 Add: gate ibmi-server MCP on required env vars
opencode's config schema types mcp.<name>.enabled as a static boolean and only interpolates {env:VAR} for string values, so conditional enablement is not expressible in opencode.jsonc alone.

Add a config-hook plugin that flips ibmi-server.enabled to true only when DB2i_HOST, DB2i_USER, and DB2i_PASS are all set. The config retains enabled: false as a fallback if the plugin fails to load.
2026-07-29 20:39:24 -05:00
2024-05-23 21:16:09 -05:00
2024-05-23 21:16:09 -05:00

ZSH Plugin and Theme

The key to this setup is GNU stow a symlink manager. stow allows you to easily link the files in the repo directly to where these files would be in your home directory originally.

I prefer to manually install the my zsh theme and plugins. I like to the ~/.zsh directory to store the repos of any dependencies I bring into my config.

Prerequisites

GNU stow

Install stow with your system's package manager.

Nerd Fonts

Make sure you get a nerd font installed and configured for your terminal emulators, text editors, and IDEs of choice.

Powerlevel10k

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.zsh/powerlevel10k 

zsh-autosuggestions

git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions 

Configure a New Machine

  1. Clone this repository to your home directory
    git clone https://github.com/cole-maxwell1/dotfiles.git
    
  2. Run GNU stow
    cd dotfiles && stow . 
    
  3. Make scripts executable for current user
    chmod -R u+x ~/dotfiles/.scripts/
    
S
Description
No description provided
Readme 128 KiB
Languages
Lua 86.8%
TypeScript 11.5%
Tree-sitter Query 1.4%
Shell 0.3%