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
Ohmyzsh
Commits
77aa1795
Commit
77aa1795
authored
Feb 04, 2020
by
Marc Cornellà
Browse files
Revert "fix: Update tmux plugin to use modern terminfo. (#8582)"
This reverts commit
69caf98c
.
parent
6bebc254
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/tmux/README.md
View file @
77aa1795
...
@@ -35,7 +35,7 @@ The plugin also supports the following -
...
@@ -35,7 +35,7 @@ The plugin also supports the following -
|
`ZSH_TMUX_AUTOQUIT`
| Automatically closes terminal once tmux exits (default:
`ZSH_TMUX_AUTOSTART`
) |
|
`ZSH_TMUX_AUTOQUIT`
| Automatically closes terminal once tmux exits (default:
`ZSH_TMUX_AUTOSTART`
) |
|
`ZSH_TMUX_FIXTERM`
| Sets
`$TERM`
to 256-color term or not based on current terminal support |
|
`ZSH_TMUX_FIXTERM`
| Sets
`$TERM`
to 256-color term or not based on current terminal support |
|
`ZSH_TMUX_ITERM2`
| Sets the
`-CC`
option for iTerm2 tmux integration (default:
`false`
) |
|
`ZSH_TMUX_ITERM2`
| Sets the
`-CC`
option for iTerm2 tmux integration (default:
`false`
) |
|
`ZSH_TMUX_FIXTERM_WITHOUT_256COLOR`
|
`$TERM`
to use for non 256-color terminals (default:
`
tmux
`
) |
|
`ZSH_TMUX_FIXTERM_WITHOUT_256COLOR`
|
`$TERM`
to use for non 256-color terminals (default:
`
screen
`
) |
|
`ZSH_TMUX_FIXTERM_WITH_256COLOR`
|
`$TERM`
to use for 256-color terminals (default:
`
tmux
-256color`
|
|
`ZSH_TMUX_FIXTERM_WITH_256COLOR`
|
`$TERM`
to use for 256-color terminals (default:
`
screen
-256color`
|
|
`ZSH_TMUX_CONFIG`
| Set the configuration path (default:
`$HOME/.tmux.conf`
) |
|
`ZSH_TMUX_CONFIG`
| Set the configuration path (default:
`$HOME/.tmux.conf`
) |
|
`ZSH_TMUX_UNICODE`
| Set
`tmux -u`
option to support unicode |
|
`ZSH_TMUX_UNICODE`
| Set
`tmux -u`
option to support unicode |
plugins/tmux/tmux.plugin.zsh
View file @
77aa1795
...
@@ -22,18 +22,18 @@ alias tkss='tmux kill-session -t'
...
@@ -22,18 +22,18 @@ alias tkss='tmux kill-session -t'
:
${
ZSH_TMUX_AUTOCONNECT
:
=true
}
:
${
ZSH_TMUX_AUTOCONNECT
:
=true
}
# Automatically close the terminal when tmux exits
# Automatically close the terminal when tmux exits
:
${
ZSH_TMUX_AUTOQUIT
:
=
$ZSH_TMUX_AUTOSTART
}
:
${
ZSH_TMUX_AUTOQUIT
:
=
$ZSH_TMUX_AUTOSTART
}
# Set term to
tmux or tmux
-256color based on current terminal support
# Set term to
screen or screen
-256color based on current terminal support
:
${
ZSH_TMUX_FIXTERM
:
=true
}
:
${
ZSH_TMUX_FIXTERM
:
=true
}
# Set '-CC' option for iTerm2 tmux integration
# Set '-CC' option for iTerm2 tmux integration
:
${
ZSH_TMUX_ITERM2
:
=false
}
:
${
ZSH_TMUX_ITERM2
:
=false
}
# The TERM to use for non-256 color terminals.
# The TERM to use for non-256 color terminals.
# Tmux states this should be
tmux
, but you may need to change it on
# Tmux states this should be
screen
, but you may need to change it on
# systems without the proper terminfo
# systems without the proper terminfo
:
${
ZSH_TMUX_FIXTERM_WITHOUT_256COLOR
:
=
tmux
}
:
${
ZSH_TMUX_FIXTERM_WITHOUT_256COLOR
:
=
screen
}
# The TERM to use for 256 color terminals.
# The TERM to use for 256 color terminals.
# Tmux states this should be
tmux
-256color, but you may need to change it on
# Tmux states this should be
screen
-256color, but you may need to change it on
# systems without the proper terminfo
# systems without the proper terminfo
:
${
ZSH_TMUX_FIXTERM_WITH_256COLOR
:
=
tmux
-256color
}
:
${
ZSH_TMUX_FIXTERM_WITH_256COLOR
:
=
screen
-256color
}
# Set the configuration path
# Set the configuration path
:
${
ZSH_TMUX_CONFIG
:
=
$HOME
/.tmux.conf
}
:
${
ZSH_TMUX_CONFIG
:
=
$HOME
/.tmux.conf
}
# Set -u option to support unicode
# Set -u option to support unicode
...
...
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