#!/usr/bin/env bash export HOME="./test-config" export XDG_CONFIG_HOME="./test-config/.config" rm -rf ./test-config mkdir -p $HOME/.config run_test ${lnav_test} -nN \ -c ":config /global/foo bar" check_output "config write global var" <