Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
3aef6793
Commit
3aef6793
authored
Feb 26, 2013
by
Josh Matthews
Browse files
Now checking for 256 color terminal in tmux plugin.
parent
26ee66f1
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/tmux/tmux.plugin.zsh
View file @
3aef6793
...
...
@@ -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
=
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment