From 5d089e418efb1a00f47654014ed085deb3d0c878 Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Thu, 19 Aug 2021 09:43:20 +0200 Subject: [PATCH] Style change --- sensible.tmux | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sensible.tmux b/sensible.tmux index 2eb96e2..66db3c1 100755 --- a/sensible.tmux +++ b/sensible.tmux @@ -68,9 +68,11 @@ get_tmux_config() { local tmux_config_xdg="${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf" local tmux_config="$HOME/.tmux.conf" - [[ -f "${tmux_config_xdg}" ]] && tmux_config=${tmux_config_xdg} - - echo ${tmux_config} + if [ -f "${tmux_config_xdg}" ]; then + echo "${tmux_config_xdg}" + else + echo ${tmux_config} + fi } main() {