flatpak-zsh-completion
flatpak-zsh-completion copied to clipboard
ZSH completion for Flatpak
Flatpak completion for Z shell (Zsh)
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
- Clone this repository under the custom plugins directory
cd $ZSH_CUSTOM/plugins
git clone https://github.com/bilelmoussaoui/flatpak-zsh-completion flatpak
- Add
flatpak
to the plugins array in.zshrc
plugins+=(flatpak)
Using Zgen
- Place the following string on its own line in
.zshrc
directly aftersource "${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