Notes
  • business
    • coding
      • cli commands
        • Bash tab-completion in zsh
        • Decode HEAD to the commit it references
        • Git Ignore File Permission Changes
        • Merge PDFs using Ghostscript
        • PDF to Text using Ghostscript
        • Processes running on external SSD
        • Tag an older commit with the date from that commit
        • Turning off Spotlight indexing
        • Unix CLI command to find large files
        • What keeps my Mac awake?
      • dev
        • devops
          • git
            • llm-assisted
              • notes
                • prompts
                  • raycast
                    • coding
                  • concepts
                    • design
                      • drawings
                        • obsidian
                          • resources
                            • stuff
                              • Notes
                              • Working Note
                              Navigation

                              • All tags
                              • #excalidraw(3)

                              No backlinks yet.

                              No linked pages yet.

                              Local graph
                              1. coding /
                              2. cli commands /
                              3. Bash tab-completion in zsh

                              Bash tab-completion in zsh

                              If you get this error

                              complete:13: command not found: compdef

                              you probably need to first run

                              autoload bashcompinit
                              bashcompinit
                              autoload -Uz compinit
                              compinit

                              References

                              • https://stackoverflow.com/questions/66338988/complete13-command-not-found-compdef
                              • https://stackoverflow.com/questions/3249432/can-a-bash-tab-completion-script-be-used-in-zsh