# tmux.ServerOptionValues.CommandAliases

- **Module:** tmux.ServerOptionValues
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/complex_options.go#L227
- **Page:** https://libtmux.org/reference/go/tmux-serveroptionvalues-commandaliases/

```
tmux.ServerOptionValues.CommandAliases() -> (OptionValue[CommandAliases], error)
```

CommandAliases parses command-alias while preserving option presence and origin. A nonnil joined error contains [ComplexOptionDecodeError] values, each usable with [errors.Is] or [errors.As]; the returned projection still contains every valid entry and is owned by the caller.
