starship_add_bash()
def starship_add_bash(name, shell_path, version, preset, prompt, shortcuts, deps, install_binary, visibility)Adds starship and configures it to use bash with spaces shell
Args
name: string: name of the rulesshell_path: string: path to the bash binaryversion: string: the starship version to usepreset: string: preset to use for starship,prompt: prompt to pre-pend to the starship promptshortcuts: shortcuts to add the the shelldeps: list: List of deps (rust toolchain for cargobin)install_binary: bool: Whether to install the starship binary (default True). Set to False if the workspace already provides it.visibility: Rule visibility. See visibility.star for more info.
starship_add_fish()
def starship_add_fish(name, shell_path, version, preset, prompt, shortcuts, deps, install_binary, visibility)Adds starship and configures it to use fish with spaces shell
Args
name: string: name of the rulesshell_path: string: path to the fish binaryversion: string: version of the starship binary to checkout.preset: string: preset to use for starshipprompt: prompt to pre-pend to the starship promptshortcuts: shortcuts to add the the shelldeps: list: List of deps (rust toolchain for cargobin)install_binary: bool: Whether to install the starship binary (default True). Set to False if the workspace already provides it.visibility: Rule visibility. See visibility.star for more info.
starship_add_zsh()
def starship_add_zsh(name, shell_path, version, preset, prompt, shortcuts, deps, install_binary, visibility)Adds starship and configures it to use fish with spaces shell
Args
name: string: name of the rulesshell_path: string: path to the zsh binaryversion: string: version of the starship binary to checkout.preset: string: preset to use for starshipprompt: prompt to pre-pend to the starship promptshortcuts: shortcuts to add the the shelldeps: list: List of deps (rust toolchain for cargobin)install_binary: bool: Whether to install the starship binary (default True). Set to False if the workspace already provides it.visibility: Rule visibility. See visibility.star for more info.