Documentation
¶
Overview ¶
Package shell holds the sourced shim templates and helpers for emitting shell-appropriate environment statements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Supported = []string{"bash", "zsh", "fish"}
Supported shells for `gcloudenv init`.
Functions ¶
func ExportStatement ¶
ExportStatement renders "set VAR to value" in the syntax of the target shell. shellName "fish" uses `set -gx`; everything else uses POSIX `export`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.