1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2025-12-06 21:12:08 -06:00
dotfiles/fish/functions/__z_complete.fish
Kaan Barmore-Genc 7c6ca0f18b Add Neovim, Fish, Zellij, Htop, and ASDF configurations to Dotter
Migrated all high-priority development configs to Dotter management:
- Neovim: Lazy.nvim setup with hop and mini-surround plugins
- Fish Shell: Complete config with Fisher plugins (done, z, sponge)
- Zellij: Terminal multiplexer with vim-like keybindings
- Htop: System monitor preferences
- ASDF: Version manager configuration

Templates created for git/gitconfig and fish/config.fish to handle
machine-specific variables (git_name, git_email, brew_path).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-15 22:16:04 -06:00

14 lines
717 B
Fish

function __z_complete -d "add completions"
complete -c $Z_CMD -a "(__z -l | string replace -r '^\\S*\\s*' '')" -f -k
complete -c $ZO_CMD -a "(__z -l | string replace -r '^\\S*\\s*' '')" -f -k
complete -c $Z_CMD -s c -l clean -d "Cleans out $Z_DATA"
complete -c $Z_CMD -s e -l echo -d "Prints best match, no cd"
complete -c $Z_CMD -s l -l list -d "List matches, no cd"
complete -c $Z_CMD -s p -l purge -d "Purges $Z_DATA"
complete -c $Z_CMD -s r -l rank -d "Searches by rank, cd"
complete -c $Z_CMD -s t -l recent -d "Searches by recency, cd"
complete -c $Z_CMD -s h -l help -d "Print help"
complete -c $Z_CMD -s x -l delete -d "Removes the current directory from $Z_DATA"
end