newterm
Whats newterm ?
“newterm” is a command line tool to open a new terminal window of same working directory in Terminal.app.
You may want a new terminal window of which woking directory is same to current working directory. “newterm” can help to avoid to input cd command and a path.
Details of usage are as follows:
- Locate “newterm” in the directory which is contained in the enviroment variable “PATH”.
- Enter “newterm” in a terminal window.
- A new terminal window will be opened. The working directory is same to the origin.
- You can pass a directory to “newterm” command.
- e.g. “newterm path/to/destination”
- You can specify first command in new terminla with “-c” option.
- e.g. “newterm -c 'ls -l'”
newterm [-c command] [directory]
Requirements
- OS X 10.10 or later
- Developed and tested on macOS 10.14.6.
Install
Copy “newterm” into the folder included in the enviroment variable “PATH” (e.g. /usr/local/bin).
In other ways, you can add the location “newterm” is copyed in into the enviroment variable “PATH”.
History
- 1.4 -- 2020-04-03
- Release with English documents.
- OS X 10.10 or later is required.
- When “newterm” is executed out of Terminal.app (e.g. Emacs.app, DTerm and so on), Terminal.app will be activated to bring new terminal window to the front.
- ...
- 1.0 -- 2006-05-22