Skip to content

Commit 5d089e4

Browse files
committedAug 19, 2021
Style change
1 parent 8e8043c commit 5d089e4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
 

‎sensible.tmux

+5-3
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ get_tmux_config() {
6868
local tmux_config_xdg="${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf"
6969
local tmux_config="$HOME/.tmux.conf"
7070

71-
[[ -f "${tmux_config_xdg}" ]] && tmux_config=${tmux_config_xdg}
72-
73-
echo ${tmux_config}
71+
if [ -f "${tmux_config_xdg}" ]; then
72+
echo "${tmux_config_xdg}"
73+
else
74+
echo ${tmux_config}
75+
fi
7476
}
7577

7678
main() {

0 commit comments

Comments
 (0)
Failed to load comments.