/flatpak-zsh-completion

ZSH completion for Flatpak

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Flatpak completion for Z shell (Zsh)

Flatpak logo Zsh wizard logo

Repository code size in bytes

GIF animation of command completion occuring in a Z shell terminal

Dependencies

Compatible Z shell plugin frameworks

Installation

Using Antibody

  • If you use a separate plugins file
echo "antibody github bilelmoussaoui/flatpak-zsh-completion" >> ${ZDOTDIR:-$HOME}/.zsh_plugins.txt
  • If you list your plugins within .zshrc
echo "antibody github bilelmoussaoui/flatpak-zsh-completion" >> ${ZDOTDIR:-$HOME}/.zshrc

Using Antigen

echo "antigen bundle bilelmoussaoui/flatpak-zsh-completion" >> ${ZDOTDIR:-$HOME}/.zshrc

Using Oh-My-Zsh

  1. Clone this repository under the custom plugins directory
cd $ZSH_CUSTOM/plugins
git clone https://github.com/bilelmoussaoui/flatpak-zsh-completion flatpak
  1. Add flatpak to the plugins array in .zshrc
plugins+=(flatpak)

Using Zgen

  • Place the following string on its own line in .zshrc directly after source "${HOME}/.zgen/zgen.zsh"
zgen load bilelmoussaoui/flatpak-zsh-completion

Using ZPlug

Add this string on its own line in .zshrc between source ~/.zplug/init.zsh and zplug load

zplug "bilelmoussaoui/flatpak-zsh-completion", nice:10

Getting started

Choose one of the methods below to activate the plugin on your system:

  • Restart your terminal emulator

    or

  • Source the .zshrc file

source ${ZDOTDIR:-$HOME}/.zshrc

Donating

License

This code is provided under the terms of the GNU General Public License, version 3.0. The full text describing the rights and responsibilities of those who make use of it, can be found in the LICENSE file.

SPDX­-License­-Identifier: GPL-3.0-only