[Assorted-commits] SF.net SVN: assorted:[943] shell-tools/trunk/src/bash-commons/bashrc.bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-08-13 06:09:24
|
Revision: 943 http://assorted.svn.sourceforge.net/assorted/?rev=943&view=rev Author: yangzhang Date: 2008-08-13 06:09:34 +0000 (Wed, 13 Aug 2008) Log Message: ----------- fixed last-chats, EMAIL Modified Paths: -------------- shell-tools/trunk/src/bash-commons/bashrc.bash Modified: shell-tools/trunk/src/bash-commons/bashrc.bash =================================================================== --- shell-tools/trunk/src/bash-commons/bashrc.bash 2008-08-11 19:10:14 UTC (rev 942) +++ shell-tools/trunk/src/bash-commons/bashrc.bash 2008-08-13 06:09:34 UTC (rev 943) @@ -31,6 +31,9 @@ # ################################################################ +# personal environment variables (TODO somehow factor this out) +export EMAIL='Yang Zhang <y_...@mi...>' + # TODO this is from sht; mv it to a mini-commons # TODO is this necessary in light of advanced var expansions? is_declared() { @@ -586,7 +589,7 @@ # purple chat logs from today last-chats() { - find /home/yang/.purple/logs/ -mtime -1 | + find "$HOME/.purple/logs/" -mtime -1 | fgrep -v .system | fgrep "$( date +%Y-%m-%d )" } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |