A central repository for Linux configurations and automated installation scripts.
bashrc.d/ This directory contains modularized scripts that are sourced by the main .bashrc file:
- aliases.sh: Custom shortcuts and command aliases.
- commons.sh: Shared system variables, helper functions, and color definitions.
- gui.sh : Terminal customization and UI-related settings.
- ros.sh : Environment configurations and dependencies required for ROS 2.
install.scripts/ This directory contains scripts to installing things:
-
conf_bash.sh: An executable script to install the JetBrainsMono Nerd font and configure a customized .bashrc.
-
install_ros.sh: An executable script to install ROS2 and its required packages.
Note: You need to add
chmod +xpermission for this directory, or it will not work.
To set up these dotfiles on a new system, follow the steps below:
-
Clone the repository:
git clone https://github.com/dhaboav/dotfiles.git
-
Configure bash:
Run the script to automatically configure:
dotfiles/install.scripts/conf_bash.sh
or manually
-
First, backup existing
.bashrcfor safety net:mv ~/.bashrc ~/.bashrc.bak
-
Create a symbolic link from the repository to home directory:
ln -s ~/dotfiles/.bashrc ~/.bashrc
-
Apply Changes:
source ~/.bashrc
-