equal
deleted
inserted
replaced
69 (load "color-theme-twilight") |
69 (load "color-theme-twilight") |
70 (color-theme-twilight) |
70 (color-theme-twilight) |
71 )) |
71 )) |
72 |
72 |
73 ;; terminal |
73 ;; terminal |
74 (global-set-key (kbd "C-c s") '(lambda () (interactive) (ansi-term "bash" "shell"))) ; start term |
74 (global-set-key (kbd "C-c s") 'eshell) ; start shell |
|
75 (add-hook 'eshell-mode-hook '(setenv "TERM" "emacs")) ; enable colors |
75 |
76 |
76 ;; OS specific configs |
77 ;; OS specific configs |
77 (cond |
78 (cond |
78 ((string-match "linux" (emacs-version)) (require 'linux)) |
79 ((string-match "linux" (emacs-version)) (require 'linux)) |
79 ((string-match "darwin" (emacs-version)) (require 'darwin)) |
80 ((string-match "darwin" (emacs-version)) (require 'darwin)) |