Is it possible to load multiple configuration files in Gnu screen?I tried multiple -c options, in vain.The basic idea is to keep my default ~/.screenrc loaded, and add a custom session configuration above it.
Gnu screen : load multiple configuration files
gnu screen
What I do is that I have a common screenrc file and I include it from custom session files. For example I have ~/.config/screen/gnus.screenrc containingsessionname gnussource common.screenrcchdir /screen -t gnus emacs -nw -f gnusAnd I run scr gnus to open this session, where scr is a script that arranges to either attach to a running session or open a new session with the specified name, and uses the session name to construct the path to the configuration file.#!/bin/shsession_name=$1rc_file=~/.config/screen/$session_name.screenrcexec screen -c $rc_file -S $session_name -r -R -d $@