simonwalz / screen-save

A tool to make screen sessions persistent = survive system reboot.
MIT License
26 stars 4 forks source link

clutter #9

Closed lskatz closed 1 year ago

lskatz commented 1 year ago

Hi, I was wondering if it could be reconfigured to save to a subfolder, e.g., $HOME/.screen-save/?

simonwalz commented 1 year ago

Sure.

I adapted to source code.

Now you can define in your .bashrc, .zshrc, ... the path that should pre prepended:

export SCREEN_SAVE_DIR="${HOME}/.screen-save/"

The default is still:

export SCREEN_SAVE_DIR="${HOME}/.screenrc-"
simonwalz commented 1 year ago

Does this help you? Can we close this issue?