Skip to content

Commit

Permalink
Style change
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno- committed Aug 19, 2021
1 parent 8e8043c commit 5d089e4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sensible.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 5d089e4

Please sign in to comment.