From: Iain Patterson Date: Fri, 5 Dec 2008 13:18:03 +0000 (+0000) Subject: Added session alias to start or reattach a persistent screen session. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=31189bc241721bf1e1b38dd31875fa6093b64e74;p=profile.git 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 --- 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/*"'