diff .bashrc @ 237:b33d0c78132c

move menu regeneration to its own function
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 09 Aug 2012 15:12:26 -0700
parents 57677a2bf772
children a5a27ec28ea7
line wrap: on
line diff
--- a/.bashrc	Thu Aug 09 13:04:17 2012 -0700
+++ b/.bashrc	Thu Aug 09 15:12:26 2012 -0700
@@ -359,7 +359,11 @@
 
 ### regenerate fluxbox menus here for convenience
 MENU=~/web/site/programs.html
+regeneratefluxmenu() {
 if [ -e $MENU ]
 then
     html2flux.py $MENU > ~/.fluxbox/applications
 fi
+}
+
+regeneratefluxmenu