From 31189bc241721bf1e1b38dd31875fa6093b64e74 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 5 Dec 2008 13:18:03 +0000 Subject: [PATCH] Added session alias to start or reattach a persistent screen session. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@162 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .profile.d/aliases.bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.profile.d/aliases.bashrc b/.profile.d/aliases.bashrc index 3b3897b..49d6ab9 100644 --- a/.profile.d/aliases.bashrc +++ b/.profile.d/aliases.bashrc @@ -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/*"' -- 2.7.4