     (defun new-browser-tab ()
       "Open a new browser tab in the default browser."
       (interactive)
-      (shell-command "open http://google.com")
-      ))
+      (shell-command "open http://google.com"))
+    ;; Ensures PATH is loaded from shell.
+    (use-package exec-path-from-shell
+      :ensure exec-path-from-shell)
+    (exec-path-from-shell-initialize))
  ((string-equal system-type "gnu/linux") ; Linux
     (defun new-browser-tab ()
       "Open a new browser tab in the default browser."

    (define-key m [f6] 'recompile)))

(add-hook 'prog-mode-hook 'ar/prog-mode-hook)

  :ensure git-gutter)
(global-git-gutter-mode +1)
(git-gutter:linum-setup)
(global-set-key (kbd "C-c <up>") 'git-gutter:previous-hunk)
(global-set-key (kbd "C-c <down>") 'git-gutter:next-hunk)

;; Handy pop-up messages with git info.
(use-package git-messenger
