Closed bwagner closed 1 year ago
I get the error -bash: complete: cd: no completion specification when I include the bash function in my ~/.bashrc
-bash: complete: cd: no completion specification
~/.bashrc
function lla { cd "$(llama "$@")" }
Curiously, when I paste it into the shell, no error occurs.
macOS 12.6.1 (Monterey) bash: GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21)
Some weird coincidence made me believe it was an issue with that bash function. Instead it came from complete -r cd which was never a problem before.
complete -r cd
I get the error
-bash: complete: cd: no completion specification
when I include the bash function in my~/.bashrc
Curiously, when I paste it into the shell, no error occurs.
macOS 12.6.1 (Monterey) bash: GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21)