Skip to content
Browse files

Added growl notification function

  • Loading branch information...
1 parent 2509491 commit 26e1176fe9bccfd72f24fa0f013775eef467a536 @58bits committed Mar 28, 2012
Showing with 15 additions and 9 deletions.
  1. +3 −0 .gitmodules
  2. +9 −7 bash/aliases
  3. +2 −2 gvimrc
  4. +1 −0 vim/bundle/nerd-tree
View
3 .gitmodules
@@ -16,3 +16,6 @@
[submodule "vim/bundle/rails"]
path = vim/bundle/rails
url = git://github.com/tpope/vim-rails.git
+[submodule "vim/bundle/nerd-tree"]
+ path = vim/bundle/nerd-tree
+ url = git://github.com/scrooloose/nerdtree.git
View
16 bash/aliases
@@ -24,6 +24,8 @@ alias ..3="cd ../../.."
alias ..4="cd ../../../.."
alias ..5="cd ../../../../.."
+#Growl notification
+growl() { echo -e $'\e]9;'${1}'\007' ; return ; }
# changing directory to project
function p { cd ~/Projects/$1; }
@@ -32,6 +34,7 @@ function c { cd ~/Code/$1; }
# changing directory to scripts
function s { cd ~/Scripts/$1; }
+
# Git
alias g="git status"
alias ga="git add"
@@ -75,7 +78,7 @@ function sc() {
# server
function ss() {
if [ -x script/rails ]; then
- script/rails server thin $@
+ thin start $@
else
script/server $@
fi
@@ -99,12 +102,11 @@ alias rkr="rake routes | vim"
# alternative to "rails" command to use templates
-#function railsapp {
-# template=$1
-# appname=$2
-# shift 2
-# rails $appname -m http://github.com/ryanb/rails-templates/raw/master/$template.rb $@
-#}
+function railsapp {
+ appname=$1
+ shift 1
+ rails new $appname -m https://raw.github.com/RailsApps/rails3-application-templates/master/rails3-devise-rspec-cucumber-template.rb -T
+}
# misc
alias reload='. ~/.bash_profile'
View
4 gvimrc
@@ -3,7 +3,7 @@
" with lower resolution.
set guioptions-=T " hide toolbar
-set lines=45 columns=144
-winpos 30 1021
+set lines=47 columns=152
+winpos 0 1045
" set guifont=Monaco:h18
set guifont=Bitstream\ Vera\ Sans\ Mono:h18
1 vim/bundle/nerd-tree
@@ -0,0 +1 @@
+Subproject commit 678bb2816874d92bca4eea46e0f5f40a15ddab68

0 comments on commit 26e1176

Please sign in to comment.
Something went wrong with that request. Please try again.