Welcome to my dotfiles repository! Here you'll find everything you need to set up and maintain a consistent and productive development environment across different machines. Dotfiles are configuration files that customize and automate the setup of software applications and tools on Unix/Linux systems. By managing these files in a repository, you can easily synchronize your preferences and settings across multiple environments.
This dotfiles collection includes configurations for Zsh, Git, wget, and npm, along with a Brewfile for managing software installations through Homebrew. Here's a brief overview of each component:
- ๐ป dot_zshrc: Customize your Zsh shell environment with aliases, functions, and shell options for improved command-line efficiency.
- ๐จ dot_p10k.zsh: Configure the Powerlevel10k Zsh theme for a highly customizable, aesthetically pleasing, and informative prompt.
- ๐ dot_gitconfig: Manage global Git settings to enhance security and workflow efficiency. This setup provides a seamless transition between personal and professional projects while maintaining a high standard of code integrity.
- ๐ก dot_gitconfig-personal & ๐ผ dot_gitconfig-work: Automatically apply specific Git configurations for personal and work contexts based on the repository's remote URL, keeping personal and professional contributions distinct and properly configured.
- ๐๏ธ dot_netrc: Store credentials for accessing remote servers, allowing for automated authentication. Used for storing GitLab credentials for automated access to private repositories.
- ๐ฅ dot_wgetrc: Customize options for wget downloads.
- ๐ฆ dot_npmrc: Manage npm settings for your node packages.
- ๐บ Brewfile: Quickly set up new machines with necessary tools and applications using Homebrew.
Feel free to explore and adapt these configurations to suit your own development needs and preferences. Happy coding! ๐
Warning: This installation process will overwrite any existing configuration files. Make sure to back up your current dotfiles before proceeding.
To directly install my dotfiles, simply run the following command in your terminal:
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply lvlcn-t
This command will install chezmoi and apply my dotfiles to your system. Chezmoi is a tool for managing dotfiles across multiple machines, providing a simple and secure way to handle your configuration files. For more information, check out the official documentation.
If you prefer to adjust the configurations before applying them, follow these steps:
-
Install chezmoi:
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/bin export PATH=$HOME/.local/bin:$PATH
-
Initialize chezmoi with my dotfiles repository:
chezmoi init lvlcn-t
-
Navigate to the chezmoi directory:
chezmoi cd
-
Start the customization and application process:
sudo apt install build-essential -y make install
That's it! Your dotfiles are now installed and ready to use. Enjoy your new development environment! ๐