Add workaround for color and bash escape sequence on macos
This commit is contained in:
parent
1fd49eded0
commit
c5092e5fa9
8
tmux/.config/tmux/plugins/macos-color-workaround
Executable file
8
tmux/.config/tmux/plugins/macos-color-workaround
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$(uname -s)" == "Darwin" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
tmux set default-terminal "tmux-256color"
|
||||
tmux set terminal-overrides ",xterm-256color:Tc"
|
||||
@ -29,9 +29,7 @@ set-option -g mouse on
|
||||
################################################################################
|
||||
# Colors
|
||||
################################################################################
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -g terminal-overrides ",xterm-256color:Tc"
|
||||
|
||||
run $XDG_CONFIG_HOME/tmux/plugins/macos-color-workaround
|
||||
set -g status-fg white
|
||||
set -g status-bg black
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user