Open JasCodes opened 11 months ago
This is not currently supported but is definitely possible. How would you imagine it working, since normally Fig autocomplete doesn't appear until you've typed at least one command?
@mschrage
c(){
if [ -z $1 ]; then
code -r .
else
code -r $1
fi
}
take this function for example. when i press c something else come up. I guess how ever you are caching list to command in path, this function should go in that list.
Frankly, I am suprise this didn't come up earlier.
Checks
fig doctor
in the affected terminal sessionfig restart
and replicated the issue againOperating system
macOS 14.0.0 (23A339)
Expected behaviour
bash or zsh function should list in autocomplete
Actual behaviour
it's not listing in autocomplete
Steps to reproduce
No response
Environment