I would like to run specific application in specific folders only. For example for vint application
$ cd /workspace/vim-plugin
$ vint ftplugin/terraform.vim
Should run docker exec -i vim-plugin sh -c "vint ftplugin/terraform.vim" in others folders vint should mean something different or even "command not found".
Solution I'm using now is direnv to add ./.bin folder to the PATH and generate shell scripts in that folder which override or add possibility to run specific app. In example above it would be /workspace/vim-plugin/.bin/vint which in simplify version looks like this:
#!/usr/bin/env bash
docker exec -i vim-plugin sh -c "vint $@"
It's works more or less as supposed to but there are some annoyance with generating this scripts, and parsing script params (single or double quotation params).
My question is, do you have different ideas how to approach this problem in Gnu/Linux environment, shell bash/zsh? Maybe solution from BusyBox when you have one application and just link to it?