add alias for ssh and remove tmux autostart

This commit is contained in:
Simon Rieger 2025-04-09 16:36:21 +02:00
parent 812ec78d5b
commit 5d107e007e
2 changed files with 2 additions and 6 deletions

View file

@ -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"

View file

@ -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"