shell Command
What It’s For
Enable arashi switch to change the current shell directory when the CLI is invoked through an installed shell wrapper.
Usage
arashi shell <subcommand>Subcommands
init <bash|zsh|fish>print shell wrapper code for manual setup.installdetect the active shell and update the matching startup file.
Examples
# install for the active shellarashi shell install
# print wrapper code for manual setuparashi shell init basharashi shell init zsharashi shell init fishNotes
- The first release supports bash, zsh, and fish.
- Restart your shell or source the updated startup file after
arashi shell install. - If install cannot determine a writable startup file, Arashi tells you to use
arashi shell init <shell>instead. - Shell integration is what makes
arashi switch --cdanddefaults.switch.mode: "cd" | "auto"work in the parent shell.