You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
307 B
Bash
11 lines
307 B
Bash
# Launch tmux if logging in over ssh
|
|
if [[ -z "$TMUX" ]] && [ "$SSH_CONNECTION" != "" ]; then
|
|
tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux
|
|
fi
|
|
|
|
# share history between running zsh instances
|
|
setopt share_history
|
|
|
|
# ignore commands with leading space from history
|
|
setopt histignorespace
|