Skip to content

Environment Variables

Arijit Basu edited this page Apr 9, 2021 · 15 revisions

Before calling a command, xplr sets a few environment variables. You can see them by invoking a shell in a directory.

With the default key bindings, run xplr and then press :!. This will drop you into bash.

Then you can run

env | grep ^XPLR_

Example output:

XPLR_FOCUS_INDEX=0
XPLR_CONFIG_VERSION=v0.3.10
XPLR_PIPE_SELECTION_OUT=/run/user/1000/xplr/session/23507/pipe/selection_out
XPLR_INPUT_BUFFER=
XPLR_PIPE_GLOBAL_HELP_MENU_OUT=/run/user/1000/xplr/session/23507/pipe/global_help_menu_out
XPLR_PID=23507
XPLR_PIPE_MSG_IN=/run/user/1000/xplr/session/23507/pipe/msg_in
XPLR_PIPE_MODE_OUT=/run/user/1000/xplr/session/23507/pipe/mode_out
XPLR_PIPE_LOGS_OUT=/run/user/1000/xplr/session/23507/pipe/logs_out
XPLR_PIPE_RESULT_OUT=/run/user/1000/xplr/session/23507/pipe/result_out
XPLR_FOCUS_PATH=/home/sayanarijit/Documents/GitHub/xplr/benches
XPLR_SESSION_PATH=/run/user/1000/xplr/session/23507
XPLR_PIPE_FOCUS_OUT=/run/user/1000/xplr/session/23507/pipe/focus_out
XPLR_APP_VERSION=v0.3.10
XPLR_PIPE_DIRECTORY_NODES_OUT=/run/user/1000/xplr/session/23507/pipe/directory_nodes_out
Clone this wiki locally