changeset 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 1ff683ac0487
children 05728a85e19b
files .bashrc
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc
+++ b/.bashrc
@@ -354,12 +354,16 @@ sed ${inplace} "${command}" "$1"
 
 }
 
 ### include overrides for commands
 source ~/.bash_overrides
 
 ### regenerate fluxbox menus here for convenience
 MENU=~/web/site/programs.html
+regeneratefluxmenu() {
 if [ -e $MENU ]
 then
     html2flux.py $MENU > ~/.fluxbox/applications
 fi
+}
+
+regeneratefluxmenu