Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tmux] Added Force UTF-8 configuration option #2023

Closed
wants to merge 1 commit into from
Closed

[tmux] Added Force UTF-8 configuration option #2023

wants to merge 1 commit into from

Conversation

d1823
Copy link

@d1823 d1823 commented Aug 5, 2013

Hi! I've added an option to force enable utf8 usage in tmux, since quite a big number of people is putting utf8 enabling line into their tmux.conf file. That change might make it a little bit more convenient.

@@ -57,11 +59,11 @@ if which tmux &> /dev/null
# Try to connect to an existing session.
elif [[ "$ZSH_TMUX_AUTOCONNECT" == "true" ]]
then
\tmux `[[ "$ZSH_TMUX_ITERM2" == "true" ]] && echo '-CC '` attach || \tmux `[[ "$ZSH_TMUX_ITERM2" == "true" ]] && echo '-CC '` `[[ "$ZSH_TMUX_FIXTERM" == "true" ]] && echo '-f '$_ZSH_TMUX_FIXED_CONFIG` new-session
\tmux `[[ "$ZSH_TMUX_FORCEUTF8" == "true" ]] && echo '-u'` `[[ "$ZSH_TMUX_ITERM2" == "true" ]] && echo '-CC '` attach || \tmux `[[ "$ZSH_TMUX_FORCEUTF8" == "true" ]] && echo '-u'` `[[ "$ZSH_TMUX_ITERM2" == "true" ]] && echo '-CC '` `[[ "$ZSH_TMUX_FIXTERM" == "true" ]] && echo '-f '$_ZSH_TMUX_FIXED_CONFIG` new-session
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines are getting awful long. Could you use \ to break them in to multiple lines for readability?

@mcornella mcornella changed the title Added Force UTF-8 configuration option. [tmux] Added Force UTF-8 configuration option Dec 2, 2015
@mcornella mcornella added the tmux label Dec 2, 2015
@mcornella mcornella added Area: plugin Issue or PR related to a plugin Status: conflicts Pull Request that has conflicts with the master branch labels Mar 24, 2019
@larson-carter
Copy link
Member

@d1823 Can you please rebase this PR onto our latest master branch. Then update this PR with a Commit please? Thank You!

@mcornella mcornella closed this Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: plugin Issue or PR related to a plugin Status: conflicts Pull Request that has conflicts with the master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants