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 rules
  • shell_path: string: path to the bash binary
  • version: string: the starship version to use
  • preset: string: preset to use for starship,
  • prompt: prompt to pre-pend to the starship prompt
  • shortcuts: shortcuts to add the the shell
  • deps: 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 rules
  • shell_path: string: path to the fish binary
  • version: string: version of the starship binary to checkout.
  • preset: string: preset to use for starship
  • prompt: prompt to pre-pend to the starship prompt
  • shortcuts: shortcuts to add the the shell
  • deps: 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 rules
  • shell_path: string: path to the zsh binary
  • version: string: version of the starship binary to checkout.
  • preset: string: preset to use for starship
  • prompt: prompt to pre-pend to the starship prompt
  • shortcuts: shortcuts to add the the shell
  • deps: 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.