This is my dotfiles configuration. Currently works on debian based distros only!
- .bashrc
- asdf
- nvim
- install.sh: this script installs and setup bash, cmake, gcc, gdb, asdf, rust, python, nodejs, bob (nvim version manager), nvim, chromium, docker and all the dependencies needed to make everything work out of the box.
If you are (or intend to be) a debian package maintainer/creator, then run:
cp bash/.env.debian.example bash/.env.debianNow change the .env.debian file with your data. If you are not a debian package maintainer/creator, you can ignore the step above.
To set everything up, run:
git clone git@github.com:MatMatias/dotfiles $HOME/.dotfiles
cd $HOME/.dotfiles
sudo chmod 755 ./scripts/install.sh && sudo chown $USER ./nvim
./scripts/install.shThen restart your bash session.
If you're using WSL, run:
./scripts/wsl_install.shInstead of
./scripts/install.shThe difference is that the wsl install script does not install chromium neither it tries to configure gnome
To setup neovim, run:
nvimWait for all plugins to be installed, then quit it. Now it is configured and ready for use.
To check neovim's configuration, check nvim/.config/nvim.
To test scripts, you can build a docker container from the Dockerfile image present in the root directory of the repository.
To build it, run:
docker build -t fresh_debian .Then use the new fresh debian to test the scripts:
docker run -d --name fresh_debian -d fresh_debian && docker exec -it fresh_debian /bin/bashInside the container, to execute the install script, run:
cd .dotfiles && ./scripts/install.shTo stop the container, run:
docker stop fresh_debianTo delete the container, run:
docker rm fresh_debianIf you have any problems using this, feel free to open a issue and/or reach me out.