antonmedv / walk

Terminal file manager
MIT License
3.24k stars 88 forks source link

error when using bash function #35

Closed bwagner closed 1 year ago

bwagner commented 1 year ago

I get the error -bash: complete: cd: no completion specification when I include the bash function in my ~/.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)

bwagner commented 1 year ago

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.