This repository is where I save my dotfiles for my different environment.
There is a lot tool for the management of the dotfiles, but my favourite is: dotter, It is a little cli written in Rust. You have a file setting with the information of the files and the files. With this tool you can deploy the setting by enviroment, with variables, templates and other interesting feature.
The link of repository is dotter repository and the official documentation.
There are several option to install this sofware (download a binary files, manager package like scoop in windows). In my case I use Rust in some personal project therefore I prefer clone the code of repository and build the project. When I have the binary file I move the file to the path. Following We can several command for build and move the folder. Here I will build the last version.
git clone [email protected]:SuperCuber/dotter.git
cd ./dotter
git checkout tags/v0.13.0
cargo build --release
sudo mv ./target/release/dotter /usr/local/bin/dotter
The best practises are clone this repository in ~/.dotfiles, I have my dotfiles in this folder and the setting of the tool is inside of ~/.dotfiles/.dotter
There is two things very important. The local and cache files must be ignored. Also We can define several packages in the globals setting and I could even include a setting file. But the configuration that will deploy is the local.toml
There is some alias or command that depends of other third party sofware. I list the information relationship with this tool and command.
- lsd.
- bat.
- neovim, recently version (It is mandatory to support lua setting).
- nerd font, this is mandatory to render well the command lsd.
- zsh syntax highlighting, It is a plugin of zsh.
- ansiweather.