summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2018-01-30 15:05:43 +0100
committertoonn <toonn@toonn.io>2018-01-30 15:05:43 +0100
commita5767f170319c0b7043c4e09c9e35331f15dcd29 (patch)
treea94af2febd716012c4892e8044c7cd8b1a7e2a4d /examples
parent14adeb9cfc1d95bda6895883fe70a50a08165589 (diff)
downloadranger-a5767f170319c0b7043c4e09c9e35331f15dcd29.tar.gz
Guard tmux title changes
Changing the tmux window title to "ranger" was not guarded for the
presence of the tmux executable, this tripped up at least one user with
an `rc.conf` that still `set update_tmux_title true`.
While the behavior is *not-a-bug*, I expect most people'd rather have
the setting enabled by default since "python" is a less useful window
title.

Fix #1042
Diffstat (limited to 'examples')
-rw-r--r--examples/rc_emacs.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rc_emacs.conf b/examples/rc_emacs.conf
index 26074a42..8924d1d6 100644
--- a/examples/rc_emacs.conf
+++ b/examples/rc_emacs.conf
@@ -129,7 +129,7 @@ set display_tags_in_all_columns true
 set update_title false
 
 # Set the title to "ranger" in the tmux program?
-set update_tmux_title false
+set update_tmux_title true
 
 # Shorten the title if it gets long?  The number defines how many
 # directories are displayed at once, 0 turns off this feature.
39' href='#n139'>139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179