ubuntu-bashrc-profilelisted
Install: claude install-skill mdnaimul22/human-skills
# Ubuntu Bashrc Profile Optimizer
This skill provides an advanced, production-ready `.bashrc` configuration tailored for Ubuntu users and developers. It moves beyond standard shell defaults to provide meaningful context, safety, and speed.
## Key Features
- **Smart Directory Navigation (`cdd`):** Automatically lists files, detects project types (Node.js, Python, Rust, etc.), and shows Git status upon entering a directory.
- **Automated Maintenance:** Checks for system updates once per day upon terminal launch.
- **Visual Enhancements:** Integrated `neofetch` (if available) for system overview and colorized `ls`, `grep`, and prompt.
- **Development Optimized:** Pre-configured paths and initializations for Miniconda and NVM.
- **Safe History:** Optimized history settings to prevent duplicate entries and ensure persistence.
## Usage
1. **Backup:** Always backup your existing `.bashrc` first: `cp ~/.bashrc ~/.bashrc.bak`.
2. **Implementation:** Copy the configuration below into your `~/.bashrc` file.
3. **Activation:** Reload your terminal or run `source ~/.bashrc`.
4. **Smart CD:** Use `cd` normally; it is aliased to the advanced `cdd` function.
## Configuration
```bash
# Section 1: Shell Behavior & Interaction
case $- in
*i*) ;;
*) return;;
esac
HISTCONTROL=ignoreboth
shopt -s histappend
HISTSIZE=1000
HISTFILESIZE=2000
shopt -s checkwinsize
# Section 2: Environment
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
if [ -z "${debian_chroot:-}" ] &&