add alias for ssh and remove tmux autostart
This commit is contained in:
parent
812ec78d5b
commit
5d107e007e
2 changed files with 2 additions and 6 deletions
|
@ -238,6 +238,4 @@ export EDITOR=vim
|
|||
|
||||
source <(/opt/homebrew/bin/starship init zsh --print-full-init)
|
||||
|
||||
if [ -x "$(command -v tmux)" ] && [ -z "${TMUX}" ] && [ -n "${WEZTERM_CONFIG_DIR}" ]; then
|
||||
exec tmux new-session -A -s ${USER} >/dev/null 2>&1
|
||||
fi
|
||||
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
||||
|
|
|
@ -238,6 +238,4 @@ eval "$(starship init zsh)"
|
|||
|
||||
test -e "$HOME/.shellfishrc" && source "$HOME/.shellfishrc"
|
||||
|
||||
if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ] && [ -n "${WEZTERM_UNIX_SOCKET}" ]; then
|
||||
exec tmux new-session -A -s ${USER} >/dev/null 2>&1
|
||||
fi
|
||||
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
||||
|
|
Loading…
Add table
Reference in a new issue