mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
run: rename cryptic tmu to tmux-split, ./run is good now so I never use it anymore explicitly
This commit is contained in:
2
run
2
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:
|
if self.env['tmux_args'] is not None:
|
||||||
tmux_args += ' {}'.format(self.env['tmux_args'])
|
tmux_args += ' {}'.format(self.env['tmux_args'])
|
||||||
subprocess.Popen([
|
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)
|
"sleep 2;{} {}".format(tmux_cmd, tmux_args)
|
||||||
])
|
])
|
||||||
cmd.extend(extra_emulator_args)
|
cmd.extend(extra_emulator_args)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
# TODO: move to Python.
|
||||||
if [ "$(tmux list-panes | wc -l | cut -d' ' -f1)" -ne 1 ]; then
|
if [ "$(tmux list-panes | wc -l | cut -d' ' -f1)" -ne 1 ]; then
|
||||||
tmux kill-pane -t 1
|
tmux kill-pane -t 1
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user