File tree 3 files changed +11
-15
lines changed
3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ PXCHAINS = proxychains4
49
49
PXCHAINS_D = proxychains4-daemon
50
50
ALL_TOOLS = $(PXCHAINS ) $(PXCHAINS_D )
51
51
ALL_CONFIGS = src/proxychains.conf
52
- ZSH_COMPLETION = completions/_proxychains4
52
+ ZSH_COMPLETION = completions/zsh/ _proxychains4
53
53
54
54
-include config.mak
55
55
@@ -70,13 +70,13 @@ $(DESTDIR)$(libdir)/%: %
70
70
$(DESTDIR )$(sysconfdir ) /% : src/%
71
71
$(INSTALL ) -D -m 644 $< $@
72
72
73
- $(DESTDIR )$(zshcompletiondir ) /% : completions/%
73
+ $(DESTDIR )$(zshcompletiondir ) /% : completions/zsh/ %
74
74
$(INSTALL ) -D -m 644 $< $@
75
75
76
76
install-libs : $(ALL_LIBS:%=$(DESTDIR )$(libdir ) /% )
77
77
install-tools : $(ALL_TOOLS:%=$(DESTDIR )$(bindir ) /% )
78
78
install-config : $(ALL_CONFIGS:src/%=$(DESTDIR )$(sysconfdir ) /% )
79
- install-zsh-completion : $(ZSH_COMPLETION:completions/%=$(DESTDIR )$(zshcompletiondir ) /% )
79
+ install-zsh-completion : $(ZSH_COMPLETION:completions/zsh/ %=$(DESTDIR )$(zshcompletiondir ) /% )
80
80
81
81
clean :
82
82
rm -f $(ALL_LIBS )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #compdef proxychains4
2
+
3
+ _arguments \
4
+ '(- : *)--help[More help in README file]' \
5
+ '-q[makes proxychains quiet - this overrides the config setting]' \
6
+ '-f[allows one to manually specify a configfile to use]: :_files' \
7
+ '(-)1: :{_command_names -e}' \
8
+ '*:: :_normal'
You can’t perform that action at this time.
0 commit comments