Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFinalizerCd ¶
AddFinalizerCd declares a "cd" finalizer (change directory)
func Print ¶
func Print(withCompletion bool, completionScriptProvider CompletionScriptProvider)
Print prints the integration code for the user's shell
Types ¶
type CompletionScriptProvider ¶ added in v0.11.0
type ShellIdentity ¶ added in v0.11.0
type ShellIdentity string
var ( BASH ShellIdentity = "bash" ZSH ShellIdentity = "zsh" )
func DetectShell ¶ added in v0.11.0
func DetectShell() (ShellIdentity, error)
Click to show internal directories.
Click to hide internal directories.