yadm-dev / yadm

Yet Another Dotfiles Manager
https://yadm.io/
GNU General Public License v3.0
5.11k stars 175 forks source link

Bash completions not working without git from homebrew #461

Closed wickles closed 1 year ago

wickles commented 1 year ago

Describe the bug

I have yadm installed via homebrew on macos. Bash completions are not working for yadm unless I also install git via homebrew. However I already have bash completions for (apple provisioned) git via ble.sh.

I tried installing bash-completions from homebrew, but it didn't help because it doesn't include the completions for git (since those are provided with the git formula instead).

Have not looked into the details of how ble.sh is providing git completions but I guess it is not compatible with the assumptions made by yadm?

(Maybe related to the fix for #318?)

To reproduce

Steps to reproduce the behavior:

  1. Have incompatible bash completions for git (such as from ble.sh)
  2. brew install yadm
  3. brew uninstall git
  4. Have completions for git but not yadm!

Expected behavior

Bash completions for yadm should be compatible with existing git completions.

Environment

github-actions[bot] commented 1 year ago

This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been labeled as stale for 7 days with no activity.