Skip to content

Commit

Permalink
Merge pull request #471 from ratberryjam/fix-set_xterm_title-for-osx
Browse files Browse the repository at this point in the history
Fix for issue #108 that restores xterm plugin functionality on OS X.
  • Loading branch information
nwinkler committed Jul 20, 2015
2 parents e32dca1 + 66fd641 commit 4b66fec
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
# This plugin is known to cause issues on OS X with the evaluation of
# colors. Please read [issue 108] for more information.
#
# You can manually turn this on by symlinking it into your
# plugins/enabled/ directory.
#
# [issue 108]: https://github.com/revans/bash-it/issues/108

cite about-plugin
about-plugin 'automatically set your xterm title with host and location info'

set_xterm_title () {
local title="$1"
echo -ne "\e]0;$title\007"
echo -ne "\033]0;$title\007"
}


Expand Down

0 comments on commit 4b66fec

Please sign in to comment.