goose-term-init - Man Page
Print shell initialization script
Synopsis
Description
Prints shell configuration to set up terminal-integrated sessions. Each terminal gets a persistent goose session that automatically resumes.
Setup:
echo 'eval "$(goose term init zsh)"' >> ~/.zshrc
source ~/.zshrc
Nushell:
let init = ($nu.cache-dir | path join "goose-term-init.nu")
^goose term init nu | save --force $init
source $init
With --default (anything typed that isn't a command goes to goose):
echo 'eval "$(goose term init zsh --default)"' >> ~/.zshrc
^goose term init nu --default | save --force $init
Options
- -n, --name <NAME>
Name for the terminal session
- --default
When enabled, anything you type that isn't a valid command will be sent to goose. Supported for zsh, bash, and nu.
- -h, --help
Print help (see a summary with '-h')
- <SHELL>
Shell type (bash, zsh, fish, nu, powershell)
Possible values:
- bash
- zsh
- fish
- nu
- powershell
See Also
goose(1), goose-term(1), goose-term-info(1), goose-term-run(1)
Referenced By
goose-term-info(1), goose-term-run(1).