Commit 1c04cd2
fix: scan Homebrew bash completions on Apple Silicon
Add /opt/homebrew/etc/bash_completion.d to hardcoded fallback locations
and use HOMEBREW_PREFIX (set by `brew shellenv`) to resolve both
etc/bash_completion.d and share/bash-completion/completions under the
actual install prefix, so Apple Silicon Macs no longer miss brew-installed
completions.
Closes #325.
💘 Generated with Crush
Assisted-by: Crush:glm-5.21 parent f41cf07 commit 1c04cd2
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
96 | 106 | | |
97 | 107 | | |
0 commit comments