atsai1220 / fzf-zsh-completions

Fuzzy completions for fzf and Zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fzf-zsh-completions

Fuzzy completions for fzf and Zsh that can be triggered by the trigger sequence that defaults to **.

git
kubectl
systemctl

Prerequisites

Installation

Load fzf-zsh-completions.plugin.zsh.

For those who prefer to install via package managers, see the instructions below.

Antigen

antigen bundle "chitoku-k/fzf-zsh-completions"

zplug

zplug "chitoku-k/fzf-zsh-completions"

Usage

For further information, please refer to Fuzzy completions for bash and zsh.

git rebase -i **<TAB>

Supported commands

  • composer
    • Scripts (run-script)
  • gh
    • Pull Requests (pr *)
  • git
    • Commit-ish (branch, checkout, cherry-pick, diff, log, merge, pull, rebase, reset, revert, show, and switch)
    • Commit messaees (commit)
    • Files (add, checkout, commit, diff, reset, restore, rm, and show)
    • Remotes (pull)
  • kubectl
    • Annotations (annotate)
    • Containers (exec, logs, and set)
    • Files (apply)
    • Labels (annotate, apply, cordon, delete, describe, drain, diff, get, label, logs, run, scale, set, taint, top, uncordon, and wait)
    • Nodes (cordon, drain, and uncordon)
    • Ports (port-forward)
    • Resources (annotate, apply, autoscale, create, delete, describe, edit, exec, explain, expose, get, label, logs, patch, port-forward, rollout, set, scale, taint, top, and wait)
    • Taints (taint)
  • make
    • Targets
  • npm
    • Scripts (run)
  • systemctl
    • Services
  • yarn
    • Scripts (run, workspace, and workspace <workspace>)
  • docker
    • Containers (attach, commit, cp, diff, exec, export, inspect, kill, logs, pause, ports, rename, restart, rm, start, stats, stop, update, unpause, and wait)
    • Files (cp)
    • Images (create, history, inspect, rmi, run, save, and tag)
    • Networks (inspect)
    • Repositories (push)
    • Volumes (inspect)

Testing

For contributing to this project, be sure to update tests/ and run following:

tests/test.zsh

Related Project

About

Fuzzy completions for fzf and Zsh

License:MIT License


Languages

Language:Shell 100.0%Language:Makefile 0.0%Language:PHP 0.0%Language:JavaScript 0.0%