diff --git a/zsh/aliases b/zsh/aliases index 37caa2f..f49df94 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -20,6 +20,7 @@ alias cd/='cd /' alias ls='ls -G' alias aliases='vim ~/.dotfiles/zsh/aliases' +alias functions='vim ~/.dotfiles/zsh/functions' alias bake='bundle exec rake' alias be='bundle exec' alias bi='bundle install' @@ -93,13 +94,15 @@ alias zsh='vim ~/.zshrc' alias todo='vim ~/Dropbox/notes/life-todo' alias wtodo='vim ~/Dropbox/notes/work-todo' alias sharp='vim ~/Dropbox/notes/sharpening-notes' +alias completion='vim ~/Dropbox/notes/completion-list' # Projects alias projects='cd ~/code/projects' +alias dot='cd ~/code/projects/dotfiles' alias perks='cd ~/code/work/src/campusperks' alias work='cd ~/code/work' alias learn='cd ~/code/learning-area' -alias dot='cd ~/code/projects/dotfiles' +alias current='cd ~/code/learning-area/languages-frameworks/elixir/introducing-elixir/physics' # Heroku staging alias staging-console='heroku run console --app campusperks-staging' diff --git a/zsh/functions b/zsh/functions index 632ac17..3bd7a7c 100644 --- a/zsh/functions +++ b/zsh/functions @@ -53,3 +53,13 @@ function take { function gc { git commit -m "$*" } + +# Search google for a term +function google() { + open /Applications/Google\ Chrome.app/ "http://www.google.com/search?q= $1"; +} + +# Open a file in chrome +function chrome () { + open -a /Applications/Google\ Chrome.app/ "$1" +}