Permalink
Browse files

Two handy functions over Mac OSX.

  • Loading branch information...
1 parent 63c3ce6 commit 59ab679a99faf258bba74e979096986e13ec1a27 @otaviof committed Oct 7, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 zshrc
View
9 zshrc
@@ -27,6 +27,15 @@ function dig_hosts {
echo $( ack "^[^#].*?$1" /etc/hosts |awk '{print $1}' )
}
+function mvim_dr {
+ cd ~/Documents/eBay/r && \
+ mvim dr/DR_$(date +%Y%m%d).textile
+}
+
+function vol {
+ sudo osascript -e "set volume output volume $*";
+}
+
# ----------------------------------------------------------------------------
# -- Compatibility Issues:
# ----------------------------------------------------------------------------

0 comments on commit 59ab679

Please sign in to comment.