Skip to content

Configuration

It is possible to configure fx by setting environment variables.

FX_SHOW_SIZE

Fx can show number of elements in arrays and objects.

bash
export FX_SHOW_SIZE=true
export FX_SHOW_SIZE=true

FX_NO_MOUSE

By default, mouse events are redirected to stdin. To disable this behavior, set the FX_NO_MOUSE environment variable.

bash
export FX_NO_MOUSE=true
export FX_NO_MOUSE=true

TIP

It is possible select text in fx, even with enabled mouse, by holding the next key:

KeyTerminal
fnTerminal.app
optioniTerm2, Hyper
shiftLinux

FX_THEME

Fx can be customized with a theme.

bash
export FX_THEME=5
export FX_THEME=5

To preview available themes, run:

bash
fx --themes
fx --themes

Add your own theme in theme.go and create a pull request.