Commit 3aef6793 authored by Josh Matthews's avatar Josh Matthews
Browse files

Now checking for 256 color terminal in tmux plugin.

parent 26ee66f1
......@@ -11,6 +11,14 @@
# Get the absolute path to the current directory
local zsh_tmux_plugin_path="$(cd "$(dirname "$0")" && pwd)"
# Determine if the terminal supports 256 colors
if [[ `tput colors` == "256" ]]
then
export $ZSH_TMUX_TERM="screen-256"
else
export $ZSH_TMUX_TERM="screen"
fi
# Local variable to store the local config file to use, if any.
local fixed_config=""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment