Mercurial > hg > config
comparison .bashrc @ 90:6d09c2a8e5e9
* add a blog file function
* add webcraft channel to auto-join
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 15 Sep 2010 09:07:28 -0700 |
parents | dfda4f7d4db4 |
children | 8b15a38ccd0f |
comparison
equal
deleted
inserted
replaced
89:dfda4f7d4db4 | 90:6d09c2a8e5e9 |
---|---|
275 cd - | 275 cd - |
276 fi | 276 fi |
277 done | 277 done |
278 } | 278 } |
279 | 279 |
280 blog-file() { | |
281 | |
282 echo "$HOME/web/blog/k0s/entries/public/$1" | |
283 | |
284 } | |
285 | |
280 hgrc() { | 286 hgrc() { |
281 ROOT="${1}" | 287 ROOT="${1}" |
282 echo "[paths]" | 288 echo "[paths]" |
283 echo "default = ${ROOT}" | 289 echo "default = ${ROOT}" |
284 echo "default-push = ssh://${ROOT#http*://}" | 290 echo "default-push = ssh://${ROOT#http*://}" |