summary refs log tree commit diff stats
path: root/commands/compose/attach.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/attach.go')
-rw-r--r--commands/compose/attach.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/commands/compose/attach.go b/commands/compose/attach.go
index 43aa32d..7501a33 100644
--- a/commands/compose/attach.go
+++ b/commands/compose/attach.go
@@ -5,6 +5,7 @@ import (
 	"os"
 	"time"
 
+	"git.sr.ht/~sircmpwn/aerc/commands"
 	"git.sr.ht/~sircmpwn/aerc/widgets"
 	"github.com/gdamore/tcell"
 	"github.com/mitchellh/go-homedir"
@@ -21,7 +22,12 @@ func (_ Attach) Aliases() []string {
 }
 
 func (_ Attach) Complete(aerc *widgets.Aerc, args []string) []string {
-	return nil
+	path := ""
+	if len(args) >= 1 {
+		path = args[0]
+	}
+
+	return commands.CompletePath(path)
 }
 
 func (_ Attach) Execute(aerc *widgets.Aerc, args []string) error {
f='/acidbong/suckless/dwm/commit/Makefile?id=789717d109016279bd541efe5b72899fbcf68335'>789717d ^
650a1fb ^
dbf7e03 ^



1076f2b



0235a84 ^
5d3fd37 ^
17d39ee ^
e94774d ^

17d39ee ^
650a1fb ^
3d48f33 ^

1076f2b

4d55eee ^
db876f9 ^
dbf7e03 ^

4d55eee ^

d477fb6 ^
f806a17 ^
4d55eee ^


dbf7e03 ^

4d55eee ^
dbf7e03 ^
4d55eee ^


dbf7e03 ^
ad4962c ^
4d55eee ^
dbf7e03 ^

4d55eee ^



dc5c070 ^

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