Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ttab

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ttab - npm Package Compare versions

Comparing version 0.7.3 to 0.8.0

3

CHANGELOG.md

@@ -7,2 +7,5 @@ # Changelog

* **[v0.8.0](https://github.com/mklement0/ttab/compare/v0.7.3...v0.8.0)** (2023-01-12):
* [enhancement] New `-l` option / env. var. `TTAB_CMD_DELAY` allows specifying a delay before submitting a startup command to a new tab, to accommodate shells whose initialization-file processing takes a while (iTerminal / iTerm2 only).
* **[v0.7.3](https://github.com/mklement0/ttab/compare/v0.7.2...v0.7.3)** (2022-08-11):

@@ -9,0 +12,0 @@ * [fix] for #43; the way that keeping the shell alive is emulated in Gnome Terminal now also works when the startup command is aborted with Ctrl-C.

@@ -23,2 +23,4 @@ <!-- DO NOT EDIT THIS FILE: It is auto-generated by `make update-man` -->

the current dir. in Terminal/iTerm.
-l <secs> Terminal/iTerm only: delay startup command submission;
may be preset via env. var. TTAB_CMD_DELAY
-a Terminal | iTerm Open the new tab in the given terminal app on macOS.

@@ -131,5 +133,17 @@ <cmd> ... Command to execute in the new tab.

NOTE: With `-g` or `-G` specified, for technical reasons, Terminal/iTerm2 /
the new tab will still activate *briefly, temporarily* in most scenarios.
NOTE: Terminal/iTerm2: With `-g` or `-G`, the new tab will still activate
*briefly, temporarily*, for technical reasons. The temporary activation
lasts as least as long as the effective -l value (command-submission
delay).
* `-l <secs>`
Terminal/iTerm2 only:
delays submitting a startup command by the specified number
of seconds (fractions supported); useful for shells with initialization
files that take a long time to process.
Note that setting a working dir. with -d alone requires a startup command,
and that in iTerm2 setting a working dir. is always required.
The default is 0.1 secs; you can preset a different value via
environment variable TTAB_CMD_DELAY. Note the impact on -g / -G.
* `-a Terminal` or `-a iTerm2`

@@ -136,0 +150,0 @@ explicitly specifies which terminal application to use on macOS;

2

LICENSE.md

@@ -1,1 +0,1 @@

Copyright (c) 2015-2022 Michael Klement <mklement0@gmail.com> (http://same2u.net), released under the [MIT license](https://spdx.org/licenses/MIT#licenseText).
Copyright (c) 2015-2023 Michael Klement <mklement0@gmail.com> (http://same2u.net), released under the [MIT license](https://spdx.org/licenses/MIT#licenseText).

@@ -5,3 +5,3 @@ {

"private": false,
"version": "0.7.3",
"version": "0.8.0",
"os": [

@@ -55,3 +55,3 @@ "darwin",

"json": "^10.0.0",
"marked": "^0.7.0",
"marked": "^4.0.10",
"marked-man": "^0.7.0",

@@ -58,0 +58,0 @@ "replace": "^1.2.0",

@@ -84,2 +84,7 @@ [![npm version](https://img.shields.io/npm/v/ttab.svg)](https://npmjs.com/package/ttab) [![license](https://img.shields.io/npm/l/ttab.svg)](https://github.com/mklement0/ttab/blob/master/LICENSE.md)

# Open a new tab and execute the specified command *after a delay* of 0.8 secs,
# to accommodate shells with lengthy initialization-file processing.
# Note: You may preset the delay via environment variable TTAB_CMD_DELAY
ttab -l 0.8 ls -1
# Open a new tab and execute *multiple* commands in it - note how the entire

@@ -136,2 +141,4 @@ # command line is specified as *single, quoted string*.

the current dir. in Terminal/iTerm.
-l <secs> Terminal/iTerm only: delay startup command submission;
may be preset via env. var. TTAB_CMD_DELAY
-a Terminal | iTerm Open the new tab in the given terminal app on macOS.

@@ -153,3 +160,3 @@ <cmd> ... Command to execute in the new tab.

Copyright (c) 2015-2021 Michael Klement <mklement0@gmail.com> (http://same2u.net), released under the [MIT license](https://spdx.org/licenses/MIT#licenseText).
Copyright (c) 2015-2023 Michael Klement <mklement0@gmail.com> (http://same2u.net), released under the [MIT license](https://spdx.org/licenses/MIT#licenseText).

@@ -183,2 +190,5 @@ ## Acknowledgements

* **[v0.8.0](https://github.com/mklement0/ttab/compare/v0.7.3...v0.8.0)** (2023-01-12):
* [enhancement] New `-l` option / env. var. `TTAB_CMD_DELAY` allows specifying a delay before submitting a startup command to a new tab, to accommodate shells whose initialization-file processing takes a while (iTerminal / iTerm2 only).
* **[v0.7.3](https://github.com/mklement0/ttab/compare/v0.7.2...v0.7.3)** (2022-08-11):

@@ -185,0 +195,0 @@ * [fix] for #43; the way that keeping the shell alive is emulated in Gnome Terminal now also works when the startup command is aborted with Ctrl-C.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc