Style change

This commit is contained in:
Bruno Sutic 2021-08-19 09:43:20 +02:00
parent 8e8043c439
commit 5d089e418e
No known key found for this signature in database
GPG Key ID: CAFA7B1B2914ED81

View File

@ -68,9 +68,11 @@ get_tmux_config() {
local tmux_config_xdg="${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf" local tmux_config_xdg="${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf"
local tmux_config="$HOME/.tmux.conf" local tmux_config="$HOME/.tmux.conf"
[[ -f "${tmux_config_xdg}" ]] && tmux_config=${tmux_config_xdg} if [ -f "${tmux_config_xdg}" ]; then
echo "${tmux_config_xdg}"
else
echo ${tmux_config} echo ${tmux_config}
fi
} }
main() { main() {