- command resolution trace removed and released as a standalone script.
- trap for path restore fixed
- Major refactor
- UI/UX improvements
- Argument handling rewritten with graceful error paths
- Detect scripts that support help flags and display help automatically fallback to source
- Trace mode now recognizes and reports disabled builtins
- Removed greeting banner
- ui/ux stuff
- testing on fedora - path manipulation bug fixed
- Minor UI/UX updates to keep consistent with
bash_ca
- UI/UX improvements
- Trace mode fixes:
- Shadowed functions reliably found
- Depth count for recursion control fixed
- UI/UX improvements
- Trace mode fixes for shadowed builtins
- New Command Resolution Trace:
- Shows Bash command resolution order
- Highlights shadowing (e.g., alias overriding a builtin)
- Example:
h --trace awk
- Code cleanup
- UI/UX improvements
- Code cleanup
- Sourced file detection guarded to one execution per invocation
- Fixed possible expansion issues
- Fixed alias expansion issues
- Code cleanup (ShellCheck passed)
- Clarified keyword definitions and fixed usage
- Added script info
- Multiple UI updates
- UI fix: Confirmation displayed when a symlink was followed for a script
- Added function to check help output:
- Identify binaries that return help text with non-zero exit codes
- Fallback to
man and info pages
- Fixed variable expansion issues (ShellCheck passed)
- Major overhaul of sourced file detection:
- Handles nested sourced files and conditional sourcing
- Follows Bash internal logic for startup files
- Detects RHEL/Fedora and adds
profile.d/*sh for interactive non-login shells
- Fixed bug in dependency check
- Code cleanup (ShellCheck passed)
- Code cleanup and UI bug fixes
- Added
batcat syntax highlighting
- Code cleanup and UI bug fixes
- Consolidated PATH manipulation code
- PATH restoration handled by new function with a trap
- Switched highlighting to Perl heredoc instead of sed
- Enhanced
<TAB> completion and PATH detection
- Complete rewrite for multi-source help:
- Supports common flags:
--help, -help, -h, -?
- Builtins/keywords: uses
help "command"
- Falls back to
man and info pages if available
- Displays contents for aliases, functions, and scripts
- Small function using
fc to append --help to last executed command
h() {
last_cmd=$(fc -ln -1 | awk '{print $1}')
eval "$last_cmd --help"
}
alias h='eval "$(history -p !! | awk '\''{print $1}'\'') --help"'