package zsh
Import Path
github.com/carapace-sh/carapace/internal/shell/zsh (on go.dev)
Dependency Relation
imports 10 packages, and imported by 2 packages
Involved Source Files
action.go
message.go
namedDirectory.go
Package zsh provides zsh completion
zstyle.go
Package-Level Functions (total 2)
ActionRawValues formats values for zsh
Snippet creates the zsh completion script
Package-Level Variables (only one)
NamedDirectories provides rudimentary named directory support as these aren't expanded by zsh in the `${words}` provided to the compdef function
Package-Level Constants (total 5)
const DEFAULT_STATE state = 0
Word starts and ends with `"`.
Space suffix somehow ends up within the quotes.
`"action"<TAB>`
`"action "<CURSOR>`
Workaround for now is to force nospace.
Word starts and ends with `'`.
Space suffix somehow ends up within the quotes.
`'action'<TAB>`
`'action '<CURSOR>`
Workaround for now is to force nospace.
Word starts with `"`.
Values need to end with `"` as well.
Weirdly regardless whether there are additional quotes within the word.
Word starts with `'`.
Values need to end with `'` as well.
Weirdly regardless whether there are additional quotes within the word.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |