ref zshrc
This commit is contained in:
parent
9cd5e17a5d
commit
816235e298
@ -4,20 +4,20 @@
|
||||
if \
|
||||
[ "$(tty)" != "/dev/tty3" ] && \
|
||||
command -v tmux &>/dev/null && \
|
||||
[ -z "$TMUX" ] && \
|
||||
tmux -N -L "$USER" list-sessions &>/dev/null
|
||||
[ -z "${TMUX}" ] && \
|
||||
tmux -N -L "${USER}" list-sessions &>/dev/null
|
||||
then
|
||||
exec tmux -N -L "$USER" new-session -A
|
||||
exec tmux -N -L "${USER}" new-session -A
|
||||
fi
|
||||
|
||||
if [ -f "$ZDOTDIR/sourcer" ]; then
|
||||
source "$ZDOTDIR/sourcer"
|
||||
if [ -f "${ZDOTDIR}/sourcer" ]; then
|
||||
source "${ZDOTDIR}/sourcer"
|
||||
fi
|
||||
|
||||
if \
|
||||
command -v tmux &>/dev/null && \
|
||||
[ -n "$TMUX" ] && \
|
||||
[ -n "$SSH_CLIENT" ]
|
||||
[ -n "${TMUX}" ] && \
|
||||
[ -n "${SSH_CLIENT}" ]
|
||||
then
|
||||
tmux source-file "$XDG_CONFIG_HOME/tmux/remote.conf"
|
||||
tmux source-file "${XDG_CONFIG_HOME}/tmux/remote.conf"
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user