rft
Commands

rft completions

Generate shell completion scripts

Usage

rft completions <shell>

Generates a completion script for the specified shell and prints it to stdout.

Supported Shells

  • bash
  • zsh
  • fish
  • powershell
  • elvish

Installation

Zsh

rft completions zsh > ~/.zfunc/_rft
# Add to .zshrc: fpath=(~/.zfunc $fpath); autoload -Uz compinit && compinit

Bash

rft completions bash > /etc/bash_completion.d/rft
# Or for user-level: rft completions bash >> ~/.bash_completion

Fish

rft completions fish > ~/.config/fish/completions/rft.fish

On this page