From 29b6eb2f01b81c4997bd8b6bdc46edbeac8e9794 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 27 Feb 2009 15:15:29 +0000 Subject: [PATCH] Fixed krenew for screen. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@180 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .profile.d/aliases.bashrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.profile.d/aliases.bashrc b/.profile.d/aliases.bashrc index 95843c1..d8a72f3 100644 --- a/.profile.d/aliases.bashrc +++ b/.profile.d/aliases.bashrc @@ -7,9 +7,11 @@ if which vim 2>/dev/null | grep ^/ >/dev/null; then alias vim='vim +syn\ on' alias vi='vim' fi -if ! which krenew 2>/dev/null | grep ^/ >/dev/null; then - alias krenew='' +if which krenew 2>/dev/null | grep ^/ >/dev/null; then + alias kscreen='krenew --' +else + alias kscreen='' fi alias debug='valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=5 --verbose --time-stamp=yes --track-fds=yes' -alias session='bigscreen -rx -S session || krenew bigscreen -S session' +alias session='bigscreen -rx -S session || kscreen bigscreen -S session' alias svnfind='find . -type f ! -path "*/.svn/*"' -- 2.7.4