Mercurial > hg > config
comparison .bashrc @ 89:dfda4f7d4db4
add a command to generate those hgrc files i always need
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 03 Sep 2010 09:37:31 -0700 |
parents | 24f933c9d97f |
children | 6d09c2a8e5e9 |
comparison
equal
deleted
inserted
replaced
88:24f933c9d97f | 89:dfda4f7d4db4 |
---|---|
275 cd - | 275 cd - |
276 fi | 276 fi |
277 done | 277 done |
278 } | 278 } |
279 | 279 |
280 hgrc() { | |
281 ROOT="${1}" | |
282 echo "[paths]" | |
283 echo "default = ${ROOT}" | |
284 echo "default-push = ssh://${ROOT#http*://}" | |
285 } | |
286 | |
280 ### include overrides for commands | 287 ### include overrides for commands |
281 source ~/.bash_overrides | 288 source ~/.bash_overrides |
282 | 289 |
283 ### regenerate fluxbox menus here for convenience | 290 ### regenerate fluxbox menus here for convenience |
284 MENU=~/web/site/programs.html | 291 MENU=~/web/site/programs.html |