This repository contains my customized .bashrc file for an enhanced terminal experience. It's packed with useful aliases, environment variables, and tool integrations to make my shell efficient and user-friendly.
- Custom PATH for easy access to local binaries
- Environment Variables with
.envfile support for global and project-specific configurations - Aliases for safer and faster commands (
ls,rm,grep, etc.) - Git-Aware Prompt with branch and status indicators
- Tool Support for
conda,nvm, and more - History Tweaks for smarter and bigger history management
- Special Functions for extracting archives and managing environment variables
The .bashrc includes built-in support for .env files:
- Global Variables: Create
~/.envfor system-wide environment variables - Project Variables: Place
.envin project directories for project-specific variables - Auto-loading: Variables are automatically loaded on shell startup
- Manual Loading: Use
load_env [path]to load specific.envfiles
Example .env file:
# API Keys
OPENAI_API_KEY=your_key_here
GITHUB_TOKEN=your_token_here
# Application Settings
NODE_ENV=development
DEBUG_MODE=falseClone and set up the configuration:
git clone https://github.com/Programmer-RD-AI/.bashrc.git
cp .bashrc/.bashrc ~/.config/bash/
source ~/.config/bash/bashrc- Add .env to your global .gitignore
- Set appropriate permissions: chmod 600 ~/.env
- Never commit .env files to version control
Feel free to submit issues and pull requests for improvements or bug fixes.