Your shell and dev environment, containerized.

josh 158bf141ac Add usage instructions %!s(int64=3) %!d(string=hai) anos
base 5773cca720 Add host path to open script %!s(int64=3) %!d(string=hai) anos
dotfiles 47f49d9690 Refactor to separate personal from open %!s(int64=3) %!d(string=hai) anos
.gitignore 47f49d9690 Refactor to separate personal from open %!s(int64=3) %!d(string=hai) anos
LICENSE 79c1732d89 Initial commit %!s(int64=3) %!d(string=hai) anos
Makefile 45dfc9a686 Remove hard references %!s(int64=3) %!d(string=hai) anos
README.md 158bf141ac Add usage instructions %!s(int64=3) %!d(string=hai) anos
docker-compose.yml 45dfc9a686 Remove hard references %!s(int64=3) %!d(string=hai) anos
env.example de60468ed2 Improve separation of concerns %!s(int64=3) %!d(string=hai) anos

README.md

devenv

ZSH and NeoVim environment, containerized.

Usage

Begin by cloning this repo

git clone https://github.com/joshwbrick/devenv.git
cd devenv

Copy the example env file to the path .env. The edit the file to contain the desired values.

cp env.example .env
nvim .env

Add your dotfiles to the dotfiles/ directory. You can checkout another repo directly in that directory. For example:

cd dotfiles
git clone https://github.com/user/dotfiles.git

Run the build and docker will begin creating the image using your environment variables.

make build

If they do not exist this will create three required files in the dotfiles directory. The required files are called setup.sh, init.vim and zshrc and must be in the root of the dotfiles directory. You may include any other files or directories as well. These will be made available in the container at ~/all_dotfiles.

setup.sh can contain any shell code to install or setup your peronsal shell or vim environment. For example, in mine I install vim-plug and setup a PHP 8 development environment. init.vim should contain your vim config and zshrc should contain setup for zsh like your personal environment variables, aliases, functions, etc.