Re: [dev] Holding st after a command has completed

From: Alexander Krotov <ilabdsf_AT_gmail.com>
Date: Sun, 14 Apr 2019 03:56:52 +0300

On 4/14/19 3:24 AM, Ivan "Rambius" Ivanov wrote:
> Hello,
>
> The st terminal has -e option that executes a specific command instead
> of the shell. However, st closes immediately after the command has
> completed. Is it possible to hold the st's window after the command
> has finished? That is similar to xterm's -hold command.

You can throw the following script ("hold.sh") into your $PATH:

#!/bin/sh
$_AT_
read x

Then run, for example, "st -e hold.sh ls"
Received on Sun Apr 14 2019 - 02:56:52 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 14 2019 - 03:36:09 CEST