---
title: "Comment by Dave Hart on \"Ziti Shell Auto-Complete\" | Hashnode"
description: "I&#39;m running bash on macOS, and after following the bash instructions, I ran into _get_comp_words_by_ref: command not found I fixed this by running brew inst"
url: "https://hashnode.com/posts/auto-complete/63f6392142ffbb0b50f5dc7a/comment/6454efb4a4b80711fbf2bb6a"
---

[Discussion](https://hashnode.com/posts/auto-complete/63f6392142ffbb0b50f5dc7a)

Comment [Ziti Shell Auto-Complete](https://hashnode.com/posts/auto-complete/63f6392142ffbb0b50f5dc7a)

[Dave Hart](https://hashnode.com/@smilindave26)

[May 5, 2023](https://hashnode.com/posts/auto-complete/63f6392142ffbb0b50f5dc7a/comment/6454efb4a4b80711fbf2bb6a)

I'm running bash on macOS, and after following the bash instructions, I ran into `_get_comp_words_by_ref: command not found`

I fixed this by running `brew install bash-completion followed by`. /usr/local/etc/bash\_completion\`
