A simple script to use your Neovim configuration in a Docker container.
Note: The script currently only supports Debian-based images. If you're interested in supporting other distributions, please open an issue or submit a pull request.
Run the script directly from GitHub:
bash <(curl -s https://raw.githubusercontent.com/drewxs/nvim-dev-container/main/devc.sh) <container_name>
Add the following to your ~/.bashrc
or ~/.zshrc
:
# `devc` can be replaced with whatever you want
alias devc='bash <(curl -s https://raw.githubusercontent.com/drewxs/nvim-dev-container/main/devc.sh)'
Then you can use it like this: devc <container_name>
.