Skip to content

Commit 3018eae

Browse files
committed
Fix completions.sh
1 parent 82b655b commit 3018eae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ leetgo.exe
33
.idea
44
.DS_Store
55
leetgo.yaml
6-
6+
completions/
77
dist/

Diff for: scripts/completions.sh

100644100755
+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
set -e
33
rm -rf completions
44
mkdir completions
5+
export CGO_ENABLED=0
56
for sh in bash zsh fish; do
67
go run main.go completion "$sh" >"completions/leetgo.$sh"
78
done

0 commit comments

Comments
 (0)