Skip to content

Commit e0fbbf1

Browse files
committed
feat: added the terraform zsh completion script
1 parent b0d5f40 commit e0fbbf1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.zsh.d/z-terraform

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
# -*- mode: sh -*-
3+
# vim: set ft=sh :
4+
5+
# =========================================================
6+
# ! WARN: DO NOT REMOVE THE “z” PREFIX!
7+
#
8+
# Added the “z” prefix to the filename because
9+
# the script has to run it after Homebrew's path resolution.
10+
11+
autoload -U +X bashcompinit && bashcompinit
12+
complete -o nospace -C /opt/homebrew/bin/terraform terraform

0 commit comments

Comments
 (0)