shell

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetShellIntegrationSnippet added in v0.3.0

func GetShellIntegrationSnippet(shell string, dataDir string) string

GetShellIntegrationSnippet returns the appropriate shell integration snippet It checks multiple locations in order of preference: 1. If dataDir is provided, use that (for custom installations) 2. Otherwise check installed locations (homebrew, system packages) 3. Fall back to default snippet

func InstallShellIntegration

func InstallShellIntegration(dataDir string) error

InstallShellIntegration installs shell integration scripts to the user's data directory

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL