Skip to content

bilelmoussaoui/flatpak-zsh-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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