package
0.0.0-20241122174450-ed490a29207d
Repository: https://github.com/jetify-com/devbox.git
Documentation: pkg.go.dev
# README
Code in this directory was copy-pasted from the direnv codebase: https://github.com/direnv/direnv/blob/master/internal/cmd/
We could not directly import this code because in the direnv
code it is inside an internal
directory, and hence not
exported.
Full credit to the direnv authors.
# Functions
https://github.com/solidsnack/shell-escape/blob/master/Text/ShellEscape/Bash.hs
A Bash escaped string.
DetectShell returns a Shell instance from the given shell name TODO: use a single common "enum" for both shenv and DevboxShell.
# Constants
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
# Variables
Bash shell instance.
Fish adds support for the fish shell as a host.
Ksh adds support the korn shell.
Posix adds support for posix-compatible shells Specifically, in the context of devbox, this includes `dash`, `ash`, and `shell`.
UnknownSh adds support the unknown shell.
Zsh adds support for the venerable Z shell.
# Interfaces
Shell is the interface that represents the interaction with the host shell.
# Type aliases
No description provided by the author
ShellExport represents environment variables to add and remove on the host shell.