2025-02-19 22:00:16 -07:00
|
|
|
WELCOME
|
|
|
|
|
case ${TERM} in
|
|
|
|
|
( *kitty* | *alacritty* )
|
2024-05-07 16:38:40 -06:00
|
|
|
# when using desktop terminal emulators, automatically launch tmux/omni
|
|
|
|
|
# if no active omni client can be found
|
|
|
|
|
: \
|
|
|
|
|
&& [[ $(tmux -L omni.socket list-clients 2>/dev/null | wc -l) -eq 0 ]] \
|
2025-02-19 22:00:16 -07:00
|
|
|
&& scwrypts -n tmux omni \
|
2024-05-07 16:38:40 -06:00
|
|
|
;
|
|
|
|
|
;;
|
|
|
|
|
esac
|
2025-02-19 22:00:16 -07:00
|
|
|
|
|
|
|
|
return 0
|