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.debian
Now 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 [email protected]:MatMatias/dotfiles $HOME/.dotfiles
cd $HOME/.dotfiles
sudo chmod 755 ./scripts/install.sh && sudo chown $USER ./nvim
./scripts/install.sh
Then restart your bash session.
If you're using WSL, run:
./scripts/wsl_install.sh
Instead of
./scripts/install.sh
The difference is that the wsl install script does not install chromium neither it tries to configure gnome
To setup neovim, run:
nvim
Wait 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/bash
Inside the container, to execute the install script, run:
cd .dotfiles && ./scripts/install.sh
To stop the container, run:
docker stop fresh_debian
To delete the container, run:
docker rm fresh_debian
If you have any problems using this, feel free to open a issue and/or reach me out.