 ;; setup package management and use-package
 (package-initialize)
-
 (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
 (unless (package-installed-p 'use-package)
   (package-refresh-contents)
   (package-install 'use-package))
-
 (require 'use-package)
 (setq use-package-always-ensure t)
 (use-package s)
+
+;; Add to exec path
+(setq exec-path (append exec-path '("/Users/mithunshitole/.nix-profile/bin")))
 
 ;; define some helper functions
 (defun configure ()

(fset 'yes-or-no-p 'y-or-n-p)

;; column width
(setq-default fill-column 120)

;; better scrolling
(setq scroll-margin 0)
(setq scroll-conservatively 10000)
(setq scroll-preserve-screen-position t)

;; dired
(add-hook 'dired-mode-hook 'dired-hide-details-mode)

;; powerline
(use-package powerline
  :config
  (powerline-default-theme))

(use-package powerline-evil)

;; magit
(use-package magit)

;; rest client
(use-package restclient)

;; auto complete
(use-package company
  :config
  (global-company-mode))
(use-package company-restclient)
(use-package company-tern)

