mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-24 03:12:50 +01:00
Add source link
This commit is contained in:
parent
b08e40c082
commit
102f197d4a
2
zshrc
2
zshrc
@ -13,6 +13,8 @@ prompt_color2="#000000"
|
||||
source "$HOME/.dotfiles/zsh/settings"
|
||||
|
||||
# Run command when connected via SSH
|
||||
# via: https://stackoverflow.com/questions/27613209/how-to-automatically-start-tmux-on-ssh-session/40192494#40192494
|
||||
#
|
||||
if [[ $- =~ i ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_TTY" ]]; then
|
||||
tmux attach-session -t default || tmux new-session -s default
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user