# 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/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/complex_options.go#L227
- **Page:** https://libtmux.org/en/go/latest/reference/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.
