Manage shell integration for parent-shell directory switching.
arashi shell <subcommand>init <bash|zsh|fish>Print wrapper code for a supported shell.installDetect the active shell and add an Arashi-managed init block to the matching startup file.
# Install shell integration for the active shell
arashi shell install
# Print bash wrapper code for manual setup
arashi shell init bash
# Print fish wrapper code for manual setup
arashi shell init fisharashi shell installsupports bash, zsh, and fish in the first release.- If automatic install cannot detect a writable startup file, Arashi tells you to use
arashi shell init <shell>instead. - Restart your shell or source the updated startup file after installation.
- Shell integration enables
arashi switch --cd, configuredcd, and contextualautoto change the current shell directory instead of only opening a new terminal context. The full unified switch mode set isauto|cd|launch|sesh|herdr;autofirst honors strict managed launcher contexts, then usescdonly when none is detected.