 
 ; disable menu bar
 (menu-bar-mode -1)
-(tool-bar-mode -1)
-(scroll-bar-mode -1)
+
+(when window-system
+  (tool-bar-mode -1)
+  (scroll-bar-mode -1))
+
 
 ; Show line number
 ;(setq linum-format "%4d\u2502")

 '(fci-rule-color "#383838")
 '(global-eclim-mode t)
 '(inhibit-startup-screen t)
 '(persp-auto-resume-time 0)
 '(persp-auto-save-opt 0)
 '(persp-nil-name "main")


(evil-leader/set-key "ne" 'neotree-toggle)
(global-set-key (kbd "<f8>") 'neotree-toggle)

;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; exec-path-from-shell: fix shell path on MAC
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(when (memq window-system '(mac ns))
  (exec-path-from-shell-initialize))

;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; 8. multi-eshell
