.bash-profile template
✓ Published0🌍 Public
Aadekunleoduye
Last edited Jul 13, 2015
Created on Jul 13, 2015
This example shows a Bash profile template that defines aliases for common development tasks and enhances the shell prompt. The aliases `dev`, `ir`, and `masterPull` streamline navigation to XAMPP directories and Git operations, while the `parse_git_branch` function extracts the current branch name. The prompt uses `export PS1` with ANSI escape codes to display the username and branch in green, updating dynamically via command substitution. The code relies on standard Bash built-ins and the Git command-line interface, with no external visualization libraries.
AI-generated description