Skip to content

Shell Setup

The easiest way to set up amoxide:

sh
am setup fish
sh
am setup zsh
powershell
am setup powershell

This detects your profile file, shows exactly what it will add, and asks for confirmation.

Manual Setup

Add the init line to your shell configuration:

fish
# ~/.config/fish/config.fish
am init fish | source
zsh
# ~/.zshrc
eval "$(am init zsh)"
powershell
# Add to your PowerShell profile (echo $PROFILE to find it)
(am init powershell) -join "`n" | Invoke-Expression

What the Init Does

The am init command does two things:

  1. Loads aliases from your active profiles into the current shell
  2. Installs a cd hook that automatically loads/unloads project aliases (from .aliases files) when you change directories

Verify Setup

Check that everything is configured correctly:

sh
am status

This verifies that the shell hook is installed and your profiles are loaded.

Released under the GPLv3 License. Privacy Policy