Skip to content

Instantly share code, notes, and snippets.

View gagath's full-sized avatar
❄️
Freezing

Agathe gagath

❄️
Freezing
View GitHub Profile
@gagath
gagath / _lxc
Created September 28, 2019 20:38
lxc zsh completion (with lxc-attach)
#compdef lxc-start lxc-stop lxc-console lxc-restart lxc-create lxc-destroy lxc-monitor lxc-cgroup lxc-checkpoint lxc-execute lxc-freeze lxc-unfreeze lxc-info lxc-netstat lxc-ps lxc-wait lxc-attach
#=====================================================================================================
# original source is here: https://lists.linuxcontainers.org/pipermail/lxc-devel/2010-April/001172.html
# 2019-09-28: MicroJoe: added lxc-attach completion
#=====================================================================================================
_lxc_containers() {
local -a containers