Skip to content

Commit 8eb0049

Browse files
committed
Bash: editor vim and tmux nondarwin to /bin/zsh
1 parent 811eaf4 commit 8eb0049

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bash-common.sh

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ else
3030
export PS1='\u@\h \W $(__git_ps1 " (%s)") \$ '
3131
fi
3232

33+
export EDITOR="vim"
3334
export TERM="screen"
3435
export HOST="localhost"
3536
export WWW_HOME="https://duckduckgo.com/lite"

tmux.conf

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
set -g default-terminal "screen-256color"
2-
if-shell 'test "$(uname -s)" = Darwin' 'set-option -g default-command "exec reattach-to-user-namespace -l zsh"'
2+
if-shell 'test "$(uname -s)" = Darwin' \
3+
'set-option -g default-command "exec reattach-to-user-namespace -l zsh"' \
4+
'set-option -g default-command "/bin/zsh"'
35
set -g mouse on
46
# allow toggle mouse on off with C-b m
57
bind m set -g mouse \; display 'mouse is now #{?mouse,on,off}'

0 commit comments

Comments
 (0)