Help us shape the future of Go! Take the 2026 Go Developer Survey

shopt

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package shopt implements the `shopt` shell built-in. Reads and writes per-Bash shell options via c.Shopt. mvdan/sh ships its own; this registration is reachable via /bin/shopt and is the canonical surface for toggling `expand_aliases` (which the alias-expansion pass in interp/runner consults at parse time).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() command.Command

New returns the shopt command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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