You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Cask-Cookbook.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,9 @@ Having a common order for stanzas makes casks easier to update and parse. Below
67
67
installer
68
68
binary
69
69
manpage
70
+
bash_completion
71
+
fish_completion
72
+
zsh_completion
70
73
colorpicker
71
74
dictionary
72
75
font
@@ -130,6 +133,9 @@ Each cask must declare one or more *artifacts* (i.e. something to install).
130
133
|[`installer`](#stanza-installer)| yes | Describes an executable which must be run to complete the installation. |
131
134
|[`binary`](#stanza-binary)| yes | Relative path to a Binary that should be linked into the `$(brew --prefix)/bin` folder on installation. |
132
135
|`manpage`| yes | Relative path to a Man Page that should be linked into the respective man page folder on installation, e.g. `/opt/homebrew/share/man/man3` for `my_app.3`. |
136
+
|`bash_completion`| yes | Relative path to a Bash completion file that should be linked into the `$(brew --prefix)/etc/bash_completion.d` folder on installation. |
137
+
|`fish_completion`| yes | Relative path to a fish completion file that should be linked into the `$(brew --prefix)/share/fish/vendor_completions.d` folder on installation. |
138
+
|`zsh_completion`| yes | Relative path to a Zsh completion file that should be linked into the `$(brew --prefix)/share/zsh/site-functions` folder on installation. |
133
139
|`colorpicker`| yes | Relative path to a ColorPicker plugin that should be moved into the `~/Library/ColorPickers` folder on installation. |
134
140
|`dictionary`| yes | Relative path to a Dictionary that should be moved into the `~/Library/Dictionaries` folder on installation. |
135
141
|`font`| yes | Relative path to a Font that should be moved into the `~/Library/Fonts` folder on installation. |
The `target:` key works similarly for most cask artifacts, such as `app`, `binary`, `colorpicker`, `dictionary`, `font`, `input_method`, `internet_plugin`, `keyboard_layout`, `prefpane`, `qlplugin`, `mdimporter`, `screen_saver`, `service`, `suite`, `audio_unit_plugin`, `vst_plugin`, `vst3_plugin`, and `artifact`.
208
+
The `target:` key works similarly for most cask artifacts, such as `app`, `binary`, `bash_completion`, `fish_completion`, `zsh_completion`, `colorpicker`, `dictionary`, `font`, `input_method`, `internet_plugin`, `keyboard_layout`, `prefpane`, `qlplugin`, `mdimporter`, `screen_saver`, `service`, `suite`, `audio_unit_plugin`, `vst_plugin`, `vst3_plugin`, and `artifact`.
0 commit comments