From 66fd6411a0eab67de1080db1cabab757ada80a54 Mon Sep 17 00:00:00 2001 From: James Ratcliffe Date: Sun, 10 May 2015 15:17:45 -0400 Subject: [PATCH] Fix for issue #108 that restores xterm plugin functionality on OS X. --- .../{_xterm.plugin.bash => xterm.plugin.bash} | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) rename plugins/available/{_xterm.plugin.bash => xterm.plugin.bash} (53%) diff --git a/plugins/available/_xterm.plugin.bash b/plugins/available/xterm.plugin.bash similarity index 53% rename from plugins/available/_xterm.plugin.bash rename to plugins/available/xterm.plugin.bash index b3810e7b..662dfa83 100644 --- a/plugins/available/_xterm.plugin.bash +++ b/plugins/available/xterm.plugin.bash @@ -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" }