diff --git a/dotfiles/emacs.d/eshell/history b/dotfiles/emacs.d/eshell/history index 84e8d9c..6331e8f 100644 --- a/dotfiles/emacs.d/eshell/history +++ b/dotfiles/emacs.d/eshell/history @@ -8,8 +8,14 @@ ping google.com git diff export TERM=rxvt-256color find -npm -clear ls -npm clear +echo $LANG +echo $LC_ALL +npm +echo "\[30m" +echo "\e[30m" +echo "\e[91m" +echo -en "\e[91m" +echo -en "\\e[91m" +scheme diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index ad8c933..ec445f2 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -1,4 +1,4 @@ -;;-------------------------------------------------------------------------------------- + ;;-------------------------------------------------------------------------------------- ;; ;; Emacs Configuration file ;; @@ -50,6 +50,19 @@ (setq inhibit-splash-screen t) ;;-------------------------------------------------------------------------------------- +;; Prefer UTF-8 for buffers +;;-------------------------------------------------------------------------------------- + +;; (prefer-coding-system 'utf-8) +;; (set-terminal-coding-system 'utf-8) + +(defun set-buffer-utf8 () + (set-buffer-process-coding-system 'iso-8859-8 'iso-8859-8) +) + +(add-hook 'eshell-mode-hook 'set-buffer-utf8) + +;;-------------------------------------------------------------------------------------- ;; Conditionally load urxvt files to fix weird bindings ;;-------------------------------------------------------------------------------------- @@ -338,6 +351,9 @@ (info) ) +;; Correct the path +(setenv "PATH" (concat "/usr/local/bin:/usr/local/sbin:" (getenv "PATH"))) + ;;------------------------------------------------------------------------------------- ;; Alignment ;;-------------------------------------------------------------------------------------