screen-workdir.sh icon indicating copy to clipboard operation
screen-workdir.sh copied to clipboard

Utility to create session with the current folder name on GNU Screen

screen-workdir.sh

Utility to create session with the current folder name on GNU Screen

Install

$ curl https://raw.githubusercontent.com/gutierri/screen-workdir.sh/master/screen-workdir.sh -o ~/.local/bin/screen-workdir.sh

$ echo "source ~/.local/bin/screen-workdir.sh" >> ~/.bashrc

Usage

Now there is a -w parameter screen -w

$ cd ~/Projects/myproject

$ screen -w

License (GPLv3) Copyright (C) 2017 Gutierri Barboza [email protected]