diff options
author | Florian Pritz <f-p@gmx.at> | 2009-05-27 15:06:33 +0200 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-05-27 15:06:33 +0200 |
commit | 5b7508b249db3624967da43c8fa575740babcecd (patch) | |
tree | 8b3de35cdccfd8fd843825e71bf23097b4938111 | |
parent | 56006bd0622e33811c56f9470a35d563b7ad20b1 (diff) | |
download | bin-5b7508b249db3624967da43c8fa575740babcecd.tar.gz bin-5b7508b249db3624967da43c8fa575740babcecd.tar.xz |
support arguments
-rwxr-xr-x | screen.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -15,6 +15,8 @@ tempfile=`mktemp` +screenname="$1" +shift cat ~/.screenrc >> $tempfile -cat ~/.screenrc-$1 >> $tempfile -screen -S "screen-sh-$1" -c "${tempfile}" +cat ~/.screenrc-$screenname>> $tempfile +screen -S "screen-sh-$screenname" -c "${tempfile}" $@ |