oobo alias command lets you replace git with oobo in your shell, so every git command automatically benefits from AI context capture.
Quick start
How it works
Theoobo alias install command:
- Detects your shell (bash, zsh, or fish)
- Adds an alias to your shell’s RC file:
- Bash/Zsh:
alias git=oobo - Fish:
alias git oobo(fish uses space, not=)
- Bash/Zsh:
- Marks the line with
# oobo aliasso it can be safely uninstalled later
What gets written
# oobo alias comment is used by oobo alias uninstall to find and remove the line.
Supported shells
Oobo detects and modifies the following shell RC files:| Shell | RC File |
|---|---|
| Zsh | ~/.zshrc |
| Bash | ~/.bashrc or ~/.bash_profile |
| Fish | ~/.config/fish/config.fish |
$SHELL environment variable and existing RC files to determine which to update.
If you use multiple shells, you may need to run
oobo alias install separately in each shell environment.After installing
Once the alias is installed:Uninstalling the alias
# oobo alias from your shell RC files. After restarting your shell, git will run the real git binary again.
Manual setup (alternative)
If you prefer not to useoobo alias install, you can add the alias manually:
How oobo finds the real git
Oobo needs to know where the realgit binary is to avoid infinite recursion. It uses which -a git to find all git binaries in your PATH and skips any that are symlinked to oobo.
The real git path is stored in ~/.oobo/config.toml:
git (assumes git is in PATH).
Verifying the alias
Check that the alias is active:Troubleshooting
Alias not found after install
Alias not found after install
Cause: Shell RC file was updated, but the current shell session hasn’t reloaded it.Fix: Restart your shell or run:
which git still shows /usr/bin/git
which git still shows /usr/bin/git
Cause: The alias isn’t loaded in the current session.Fix: Check that your shell is reading the correct RC file. Run:If you use zsh but the alias was added to again to detect the correct shell.
.bashrc, it won’t work. Run:Error: cannot find real git
Error: cannot find real git
Cause: Oobo couldn’t locate the git binary on your system.Fix: Install git, or manually set the path in
~/.oobo/config.toml:Uninstall doesn't remove the alias
Uninstall doesn't remove the alias
Cause: The alias line doesn’t have the
# oobo alias marker.Fix: Manually edit your RC file and remove the alias git=oobo line.Multiple shells — which one gets the alias?
Multiple shells — which one gets the alias?
Cause:
oobo alias install detects the shell from $SHELL and existing RC files.Fix: If you use multiple shells (e.g. bash and zsh), you may need to:- Run
oobo alias installin each shell environment, OR - Manually add the alias to all relevant RC files
Should you use the alias?
Pros
- Transparent: No need to remember to use
ooboinstead ofgit - Team-friendly: Works with existing muscle memory and scripts
- Zero overhead: Read commands pass through instantly
Cons
- Potential confusion:
gitcommands now run a different binary - Tooling compatibility: Some tools that shell out to
gitmay not expect a wrapper
Using both git and oobo
If you install the alias but occasionally need the real git:git resolves to:
Idempotent install
Runningoobo alias install multiple times is safe. Oobo checks for the # oobo alias marker and won’t add duplicate lines.
