better multiplexer detection
This commit is contained in:
parent
b97466209c
commit
0514b95a66
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ -z ${ZELLIJ} ]] && [[ -z ${SSH_CLIENT} ]]; then
|
if [[ -z ${ZELLIJ} ]] && command -v zellij; then
|
||||||
zellij && exit
|
zellij && exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue