alias updates

This commit is contained in:
Michael Campagnaro 2013-07-23 23:20:06 -04:00
parent a33f3bc004
commit ee6c2ed3a6
3 changed files with 12 additions and 3 deletions

2
logfile Normal file
View File

@ -0,0 +1,2 @@
FATAL: lock file "postmaster.pid" already exists
HINT: Is another postmaster (PID 1091) running in data directory "/usr/local/var/postgres"?

2
vimrc
View File

@ -103,7 +103,7 @@ map <leader>gs :Gstatus<CR>
map <leader>gw :!git add . && git commit -m 'WIP' && git push<cr>
map <leader>nn :sp ~/Dropbox/notes/programming-notes<cr>
map <Leader>p :set paste<CR>o<esc>"*]p:set nopaste<cr>
map <leader>pn :sp ~/Dropbox/work/redwood/notes/project-notes<cr>
map <leader>pn :sp ~/Dropbox/notes/project-notes<cr>
map <leader>rf :CommandTFlush<cr>
" Remove trailing whitespace on save all files.

View File

@ -112,8 +112,9 @@ alias wtodo='vim ~/Dropbox/work/redwood/notes/work-todo'
alias sharp='vim ~/Dropbox/notes/sharpening-notes'
alias completion='vim ~/Dropbox/notes/completion-list'
alias powerup='vim ~/code/learning-area/notes/powerup'
alias pnotes='vim ~/Dropbox/notes/programming-notes'
alias wnotes='vim ~/Dropbox/work/redwood/notes/project-notes'
alias notes='cd ~/Dropbox/notes'
alias cnotes='vim ~/Dropbox/notes/programming-notes'
alias pnotes='vim ~/Dropbox/notes/project-notes'
# Projects
alias projects='cd ~/code/projects'
@ -123,6 +124,9 @@ alias work='cd ~/code/work/redwood'
alias learn='cd ~/code/learning-area'
alias current='cd ~/code/learning-area/languages-frameworks/elixir/introducing-elixir/physics'
# Open Source
alias ssh-discourse='ssh -F ~/code/projects/discourse/.project/vagrant.ssh.conf default'
# Heroku staging
alias staging-console='heroku run console --app campusperks-staging'
alias staging-tail='heroku logs --tail --app campusperks-staging'
@ -130,3 +134,6 @@ alias staging-tail='heroku logs --tail --app campusperks-staging'
# Heroku production
alias production-console='heroku run console --app campusperks'
alias production-tail='heroku logs --tail --app campusperks'
# DB
alias start-postgres='pg_ctl -D /usr/local/var/postgres -l logfile start'