blob: c2b3543f24005749db900b88949e441f5831216b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
#----------------------------------------------------
# Version: 0.1.2
# Author: Florian "Bluewind" Pritz <f-p@gmx.at>
#
# Copyright (C) 2008-2009 Florian Pritz
#
# Licensed under GNU General Public License v3
# (see COPYING for full license text)
#
#----------------------------------------------------
# start screen with a combined config file
#----------------------------------------------------
# .screerc and .screenrc-<anything>
# Usage: screen.sh <anything>
#----------------------------------------------------
tempfile=`mktemp`
cat ~/.screenrc >> $tempfile
cat ~/.screenrc-$1 >> $tempfile
screen -S "screen-sh-$1" -c "${tempfile}"
|