diff --git a/emacs b/emacs index a56f065..8c19300 100644 --- a/emacs +++ b/emacs @@ -201,8 +201,8 @@ ;; (require 'textile-mode) ;; (add-to-list 'auto-mode-alist '("\\.textile\\'" . textile-mode)) -;; (require 'yaml-mode) -;; (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) +(require 'yaml-mode) +(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) ;; keep a list of recently visited files @@ -262,6 +262,11 @@ ;; (set-face-background 'flymake-errline "red4") ;; (set-face-background 'flymake-warnline "dark slate blue")) +;; highlight the current line +(global-hl-line-mode 1) + +;; To customize the background color +(set-face-background 'hl-line "#330") ;;;;;;;;;;;;;;;;;; ;; key bindings ;; diff --git a/zsh/zshrc b/zsh/zshrc index 2b3bf61..1652d81 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -9,8 +9,8 @@ export LANG="en_CA.UTF-8" cdpath=(~) -function linux() { [[ `uname -s` = "Linux" ]] && true } -function mac() { [[ `uname -s` = "Darwin" ]] && true } +function linux() { [[ `uname -s` = "Linux" ]] } +function mac() { [[ `uname -s` = "Darwin" ]] } HOSTNAME=`hostname -s` KEYCHAIN_HOST=`hostname`