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
|
# Colors
|
||||||
################################################################################
|
################################################################################
|
||||||
set -g default-terminal "tmux-256color"
|
run $XDG_CONFIG_HOME/tmux/plugins/macos-color-workaround
|
||||||
set -g terminal-overrides ",xterm-256color:Tc"
|
|
||||||
|
|
||||||
set -g status-fg white
|
set -g status-fg white
|
||||||
set -g status-bg black
|
set -g status-bg black
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user