init.el
changeset 30 5aa1ceff049d
parent 29 b52bb6669eed
child 31 27930e0310d6
equal deleted inserted replaced
29:b52bb6669eed 30:5aa1ceff049d
    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))