You are not logged in.

#1 2013-05-13 04:11:34

xiaq
Member
From: somewhere in China...
Registered: 2011-03-06
Posts: 89

[SOLVED] No zsh completion for netctl

I have migrated from netcfg to netctl recently, but a weird thing I notice is that there is no zsh completion for netctl. However it's clear that netctl has its zsh completion file installed:

~$ pac -Ql netctl | grep _netctl
netctl /usr/share/zsh/site-functions/_netctl

I googled around and there seems at least one person who shares the problem (https://bbs.archlinux.org/viewtopic.php?id=157670 #20), but there is no solution there.

Last edited by xiaq (2013-06-03 09:28:14)

Offline

#2 2013-05-13 07:55:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] No zsh completion for netctl

The link to a post is "hidden" under time and date of the post, here: '2013-03-22 17:37:57'. You can simply copy/paste it https://bbs.archlinux.org/viewtopic.php … 5#p1247855

Offline

#3 2013-05-13 08:01:25

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: [SOLVED] No zsh completion for netctl

I use zsh with grml config and the autocomplete works.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2013-06-03 09:27:43

xiaq
Member
From: somewhere in China...
Registered: 2011-03-06
Posts: 89

Re: [SOLVED] No zsh completion for netctl

Somehow installation of /usr/share/zsh/site-functions/_netctl didn't trigger compinit to update ~/.zcompdump. Removing the file by hand resolves the issue.

Offline

Board footer

Powered by FluxBB