No description
- Shell 83.1%
- Makefile 16.9%
| .github | Version 1.2.0 release | |
| bash_aliases | Version 1.2.0 release | |
| bash_exports | Version 1.2.1 release | |
| bash_history | urda.bash gets a fresh coat of paint in 2025 | |
| bash_linux | Version 1.2.0 release | |
| bash_osx | Version 1.2.0 release | |
| bash_profile | Update HEADERS | |
| bash_secrets | urda.bash gets a fresh coat of paint in 2025 | |
| bashrc | Version 1.2.2 release | |
| CHANGELOG.md | Version 1.2.2 release | |
| LICENSE | urda.bash gets a fresh coat of paint in 2025 | |
| Makefile | Version 1.2.0 release | |
| README.md | Version 1.2.0 release | |
| VERSION | Version 1.2.2 release | |
Urda's Bash Files
This is a collection of my bash prompt settings, aliases, exports, and other related shell scripts.
urda.bash Features
- Exposes the
XDG Base Directoryspecification variables. - Supports loading
bashshell parts based on host operating system:bash_linux- For Linux platforms.bash_osx- For macOS platforms.
- Displays "information lines" in shell:
gitworking state information.screensession name.
- Understands various tools and tooling in shell:
- 1Password CLI support.
direnvsupport.fnmsupport.
- Weekly
VERSIONcheck against GitHub remote (non-blocking).- Also supports on-demand version checking with
_urdabash_version_check now
- Also supports on-demand version checking with
Should work with bash 3.2 or higher.
urda.bash Special Functions
These are helper functions for urda.bash. You should not rely on them as a public API at this time.
_prepend_path_once- Prepends a value to the
${PATH}variable ONCE, and avoids duplicates.
- Prepends a value to the
_source_if_exists- Internal helper function to only
sourcea file if it exists, skips otherwise.
- Internal helper function to only
_urdabash_info- You can invoke this to see a little information printout about the current
urda.bashconfiguration.
- You can invoke this to see a little information printout about the current
_urdabash_version_check- This handles checking for a different
VERSION(which should mean a newurda.bashrelease is out).
- This handles checking for a different
Working with urda.bash project files
Get Makefile help
You can run a bare make or make help to display the help screen.
Comparing to your local bash
After you clone this repo, you can also run a quick diff that will compare your local bash files against the repo files:
make diffs
Running tests
This will also run a make version-check.
make test
Copying files to your ${HOME}
WARNING! This is a DESTRUCTIVE operation and copies bash files from the project into your ${HOME}.
make copy
Project version check
Just run make version-check.