From b14f68f9bfa1eae339d761b9d58c4801ba929f3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sun, 12 May 2019 00:00:03 +0000 Subject: [PATCH] run: rename cryptic tmu to tmux-split, ./run is good now so I never use it anymore explicitly --- run | 2 +- tmu => tmux-split | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename tmu => tmux-split (93%) diff --git a/run b/run index b40320d..ffd6cc9 100755 --- a/run +++ b/run @@ -718,7 +718,7 @@ Extra options to append at the end of the emulator command line. if self.env['tmux_args'] is not None: tmux_args += ' {}'.format(self.env['tmux_args']) subprocess.Popen([ - os.path.join(self.env['root_dir'], 'tmu'), + os.path.join(self.env['root_dir'], 'tmux-split'), "sleep 2;{} {}".format(tmux_cmd, tmux_args) ]) cmd.extend(extra_emulator_args) diff --git a/tmu b/tmux-split similarity index 93% rename from tmu rename to tmux-split index 8a6bc03..f505da9 100755 --- a/tmu +++ b/tmux-split @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# TODO: move to Python. if [ "$(tmux list-panes | wc -l | cut -d' ' -f1)" -ne 1 ]; then tmux kill-pane -t 1 fi