File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,19 @@ This tmux plugin will automatically attach a tmux session to your shell session.
2424** Wayland**
2525
2626``` bash
27- [ ${DISPLAY_WAYLAND-} ] && plugins+=(tmux-autoattach)
27+ [[ ${DISPLAY_WAYLAND-} ] ] && plugins+=(tmux-autoattach)
2828```
2929
3030** X11**
3131
3232``` bash
33- [ ${DISPLAY-} ] && plugins+=(tmux-autoattach)
33+ [[ ${DISPLAY-} ] ] && plugins+=(tmux-autoattach)
3434```
3535
3636** Multiple**
3737
3838``` bash
39- if [ ${DISPLAY-} ] || [ ${SSH-} ]; then
39+ if [[ ${DISPLAY-} ]] || [[ ${SSH-} ] ]; then
4040 plugins+=(tmux-autoattach)
4141fi
4242```
Original file line number Diff line number Diff line change @@ -24,19 +24,19 @@ This zellij plugin will automatically attach a zellij session to your shell sess
2424** Wayland**
2525
2626``` bash
27- [ ${DISPLAY_WAYLAND-} ] && plugins+=(zellij-autoattach)
27+ [[ ${DISPLAY_WAYLAND-} ] ] && plugins+=(zellij-autoattach)
2828```
2929
3030** X11**
3131
3232``` bash
33- [ ${DISPLAY-} ] && plugins+=(zellij-autoattach)
33+ [[ ${DISPLAY-} ] ] && plugins+=(zellij-autoattach)
3434```
3535
3636** Multiple**
3737
3838``` bash
39- if [ ${DISPLAY-} ] || [ ${SSH-} ]; then
39+ if [[ ${DISPLAY-} ]] || [[ ${SSH-} ] ]; then
4040 plugins+=(zellij-autoattach)
4141fi
4242```
You can’t perform that action at this time.
0 commit comments