diff --git a/README.md b/README.md index f3555c1..c782831 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Using **lazy.nvim**: dotfiles_repository = "https://github.com/erichlf/dotfiles.git", dotfiles_branch = "devcontainer-cli", dotfiles_targetPath = "~/dotfiles", - dotfiles_installCommand = "install.sh", + dotfiles_install_command = "install.sh", shell = "bash", nvim_binary = "nvim", log_level = "debug", @@ -128,7 +128,7 @@ Call `require("devcontainer-cli").setup({ ... })` with any of the following opti dotfiles_repository = "https://github.com/erichlf/dotfiles.git", dotfiles_branch = "devcontainer-cli", dotfiles_targetPath = "~/dotfiles", - dotfiles_installCommand = "install.sh", + dotfiles_install_command = nil, -- Let the Dev Container CLI pick a default -- Shell used when executing commands shell = "bash", @@ -222,7 +222,7 @@ No. You can either keep Neovim on the host and use `:DevcontainerExec`, or conne This plugin focuses on using the official Dev Container CLI and avoids imposing opinions. Similar projects include `esensar/nvim-dev-container` and `arnaupv/nvim-devcontainer-cli`; if you prefer a different model (e.g., host Neovim + remote LSP servers), compare approaches and pick what suits you. **Where should I keep my dotfiles?** -Point `dotfiles_repository` to any repo. The plugin will clone that repo into the container and run your setup script (`dotfiles_installCommand`). +Point `dotfiles_repository` to any repo. The plugin will clone that repo into the container and run the configured setup script (`dotfiles_install_command`). --- diff --git a/lua/devcontainer-cli/config.lua b/lua/devcontainer-cli/config.lua index 8ce8f8f..505103a 100644 --- a/lua/devcontainer-cli/config.lua +++ b/lua/devcontainer-cli/config.lua @@ -39,7 +39,7 @@ local default_config = { dotfiles_targetPath = "~/dotfiles", -- command that's executed for installed the dependencies from the -- setup_environment_repo - dotfiles_installCommand = "install.sh", + -- dotfiles_install_command = "install.sh", -- Let the devcontainer CLI choose -- The number of columns to wrap text at terminal_columns = 80, -- The particular binary to use for connecting to in the devcontainer