Added session alias to start or reattach a persistent screen session.
authorIain Patterson <me@iain.cx>
Fri, 5 Dec 2008 13:18:03 +0000 (13:18 +0000)
committerIain Patterson <me@iain.cx>
Fri, 5 Dec 2008 13:18:03 +0000 (13:18 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@162 6be0d1a5-5cfe-0310-89b6-964be062b18b

.profile.d/aliases.bashrc

index 3b3897b..49d6ab9 100644 (file)
@@ -8,4 +8,5 @@ if which vim 2>/dev/null | grep ^/ >/dev/null; then
   alias vi='vim'
 fi
 alias debug='valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=5 --verbose --time-stamp=yes --track-fds=yes'
+alias session='screen -rx -S session || screen -S session'
 alias svnfind='find . -type f ! -path "*/.svn/*"'