This repository contains my personal configuration files for bash. These dotfiles help to set up a consistent development environment across different systems.
- .profile: Executed by the command interpreter for login shells. Includes
.bashrc
if it exists and sets the PATH to include user's private bin directories. - .bashrc: Executed by bash for non-login shells. Configures bash history, prompt, and enables color support for
ls
and other commands.
To use these configuration files, follow these steps:
-
Clone the repository to your home directory:
git clone https://github.com/sohamw03/dotfiles.git ~/dotfiles
-
Backup your existing dotfiles:
mv ~/.profile ~/.profile_backup mv ~/.bashrc ~/.bashrc_backup
-
Create symbolic links to the new dotfiles:
ln -s ~/dotfiles/.profile ~/.profile ln -s ~/dotfiles/.bashrc ~/.bashrc
-
Reload your shell:
source ~/.profile source ~/.bashrc
These dotfiles will automatically configure your bash environment upon login or when opening a new terminal session. You can customize them further by editing the files in the repository.
Feel free to fork the repository and submit pull requests with improvements or additional configurations.
This repository is licensed under the Apache 2.0 License.