From 0ba5511fa542fc7f9c7976504681fabcc0170ef6 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Wed, 6 Jan 2016 16:30:26 -0800 Subject: [PATCH] Add more emacs and pg stuff --- dotfiles/emacs.d/package.el | 5 +++-- dotfiles/zshrc | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dotfiles/emacs.d/package.el b/dotfiles/emacs.d/package.el index 053d33d..1cf7c8a 100644 --- a/dotfiles/emacs.d/package.el +++ b/dotfiles/emacs.d/package.el @@ -1,8 +1,9 @@ (require 'cl) (defvar my-packages '(ag auto-complete clojure-mode coffee-mode css-mode circe expand-region framemove flycheck - esh-help fill-column-indicator flycheck-clojure flycheck-haskell flycheck-rust - flycheck-pos-tip gitignore-mode golden-ratio haskell-mode swiper linum-relative + esh-help enh-ruby-mode flymake-ruby ruby-block robe inf-ruby ac-inf-ruby rspec-mode + fill-column-indicator flycheck-clojure flycheck-haskell flycheck-rust slim-mode + flycheck-pos-tip gitignore-mode golden-ratio haskell-mode swiper sass-mode linum-relative js2-mode less-css-mode magit neotree paredit scala-mode2 scss-mode smex powerline projectile rust-mode color-theme-solarized wrap-region stylus-mode rainbow-delimiters) "Packages to make sure are installed") diff --git a/dotfiles/zshrc b/dotfiles/zshrc index a662037..27af0d5 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -22,6 +22,8 @@ export TERM=rxvt-256color alias emacs='emacs -nw' alias irssi='TERM=screen-256color irssi' alias scheme='rlwrap mit-scheme' +alias startpg='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start' +alias stoppg='pg_ctl -D /usr/local/var/postgres stop' # This is for the mac GUI version of emacs. alias emacs-gui='open -a /Applications/Emacs.app $1'