about summary refs log tree commit diff stats
path: root/src/command/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-04-12 23:25:31 +0100
committerJames Booth <boothj5@gmail.com>2016-04-12 23:25:31 +0100
commit46687aecedc73bab2d4954ef7969616c0477298b (patch)
tree1be6672381a30878c8375a6dafb04da2e1d355fc /src/command/command.c
parent1a73aa39cbd7462ed098952d7d78d5f63c9e92d2 (diff)
downloadprofani-tty-46687aecedc73bab2d4954ef7969616c0477298b.tar.gz
Only complete unloaded plugins on /plugins load
Diffstat (limited to 'src/command/command.c')
-rw-r--r--src/command/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 67bd8d43..fa9b2de7 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -3761,7 +3761,7 @@ _plugins_autocomplete(ProfWin *window, const char *const input)
     if ((strncmp(input, "/plugins load ", 14) == 0) && (strlen(input) > 14)) {
         if (plugins_load_ac == NULL) {
             plugins_load_ac = autocomplete_new();
-            GSList *plugins = plugins_file_list();
+            GSList *plugins = plugins_unloaded_list();
             GSList *curr = plugins;
             while (curr) {
                 autocomplete_add(plugins_load_ac, curr->data);
the previous revision' href='/akkartik/mu/blame/html/subx/022div.cc.html?h=main&id=cfea67e9a00419c4493699c0ac8691d9bbb0ceca'>^
c8a3ccbe ^
52daf072 ^



a0d3cac4 ^
52daf072 ^


a0d3cac4 ^
c8a3ccbe ^
52daf072 ^


695f9bf8 ^
a0d3cac4 ^

52daf072 ^




a0d3cac4 ^


52daf072 ^




a0d3cac4 ^
c8a3ccbe ^
52daf072 ^


695f9bf8 ^
a0d3cac4 ^

52daf072 ^





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100