Compare commits
2 Commits
b1d520d666
...
fd05fde8e4
| Author | SHA1 | Date | |
|---|---|---|---|
| fd05fde8e4 | |||
| 9aafef9ba3 |
10
.commonrc
10
.commonrc
@@ -9,11 +9,11 @@ cd /opt/homebrew/bin
|
|||||||
[[ -f "$HOME/.dotfiles/aliases" ]] && source "$HOME/.dotfiles/aliases"
|
[[ -f "$HOME/.dotfiles/aliases" ]] && source "$HOME/.dotfiles/aliases"
|
||||||
[[ -f "$HOME/.iterm2_shell_integration.zsh" ]] && source "$HOME/.iterm2_shell_integration.zsh"
|
[[ -f "$HOME/.iterm2_shell_integration.zsh" ]] && source "$HOME/.iterm2_shell_integration.zsh"
|
||||||
|
|
||||||
if [ ! "$TERM_PROGRAM" = "iTerm.app" ]; then
|
#if [ ! "$TERM_PROGRAM" = "iTerm.app" ]; then
|
||||||
if [ -z "$TMUX" ]; then
|
# if [ -z "$TMUX" ]; then
|
||||||
(tmux ls | grep -vq attached && tmux -2 attach-session -t main) || tmux -2 new-session -s main
|
# (tmux ls | grep -vq attached && tmux -2 attach-session -t main) || tmux -2 new-session -s main
|
||||||
fi
|
# fi
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# use ~/.commonrc.local for local changes, proxy etc.
|
# use ~/.commonrc.local for local changes, proxy etc.
|
||||||
[[ -f "$HOME/.commonrc.local" ]] && source "$HOME/.commonrc.local"
|
[[ -f "$HOME/.commonrc.local" ]] && source "$HOME/.commonrc.local"
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ set-option -g bell-action none
|
|||||||
# set mouse modes
|
# set mouse modes
|
||||||
if-shell '[[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]]' \
|
if-shell '[[ $(echo "$(tmux -V | cut -d" " -f2) >= 2.1" | bc) -eq 1 ]]' \
|
||||||
'set -g mouse on' \
|
'set -g mouse on' \
|
||||||
'set -g mode-mouse on; set -g mouse-resize-pane on; set -g mouse-select-pane on; set -g mouse-select-window on'
|
# 'set -g mode-mouse on; set -g mouse-resize-pane on; set -g mouse-select-pane on; set -g mouse-select-window on'
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
### Styling
|
### Styling
|
||||||
|
|||||||
Reference in New Issue
Block a user