Merge remote-tracking branch 'upstream/master'

Ensured debian plugin patch stayed applied

Conflicts:
	plugins/debian/debian.plugin.zsh
This commit is contained in:
Andrew Schwartzmeyer 2013-06-22 17:17:45 -07:00
commit 0291aebbcf
8 changed files with 34 additions and 23 deletions

View file

@ -7,7 +7,7 @@ alias bu="bundle update"
# The following is based on https://github.com/gma/bundler-exec
bundled_commands=(annotate cap capify cucumber foreman guard jekyll middleman nanoc rackup rainbows rake rspec ruby shotgun spec spin spork thin thor unicorn unicorn_rails puma)
bundled_commands=(annotate berks cap capify cucumber foodcritic foreman guard jekyll kitchen knife middleman nanoc rackup rainbows rake rspec ruby shotgun spec spin spork strainer tailor thin thor unicorn unicorn_rails puma)
## Functions

View file

@ -6,7 +6,7 @@
# ------------------------------------------------------------------------------
function tab() {
local command="cd \\\"$PWD\\\""
local command="cd \\\"$PWD\\\"; clear; "
(( $# > 0 )) && command="${command}; $*"
the_app=$(
@ -34,7 +34,7 @@ EOF
launch session "Default Session"
set current_session to current session
tell current_session
write text "${command}; clear;"
write text "${command}"
end tell
end tell
end tell

View file

@ -0,0 +1,6 @@
# Aliases to stop, start and restart Postgres
# Paths noted below are for Postgress installed via Homebrew on OSX
alias startpost='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
alias stoppost='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
alias restartpost='stoppost && sleep 1 && startpost'