commit 0f1cac8baecbfd9cf7d2f93127da4299c3258351
parent 32b3ba6111f85e7d92842828544a742c06030c94
Author: Anders Damsgaard <andersd@riseup.net>
Date: Fri, 8 Dec 2017 15:34:43 -0500
Clear window name before prompting to rename
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/links/.tmux.conf b/links/.tmux.conf
@@ -15,6 +15,8 @@ set -g pane-base-index 1 # start pane numbering at 1
set -g renumber-windows on # renumber windows automatically
setw -g automatic-rename on # rename window after process
+# Clear window name before renaming
+bind , rename-window "" \; command-prompt "rename-window '%%'"
#### APPEARANCE