diff --git a/emacs.el b/emacs.el index d012349..0e5d463 100644 --- a/emacs.el +++ b/emacs.el @@ -331,7 +331,6 @@ found, otherwise returns nil." (when (fetch-library "https://raw.github.com/10sr/emacs-lisp/master/terminal-title.el" t) - (require 'terminal-title nil t) ;; if TERM is not screen use default value (if (getenv "TMUX") ;; if use tmux locally just basename of current dir @@ -356,8 +355,9 @@ found, otherwise returns nil." ":" (file-name-nondirectory (directory-file-name default-directory)))))) - ;; this wont happen? (TMUX is not set, TERM is screen, not ssh-ed) - (terminal-title-mode)) + ;; this wont happen? (TMUX is not set, TERM is screen, not ssh-ed) + (and (require 'terminal-title nil t) + (terminal-title-mode))) (setq eol-mnemonic-dos "\\r\\n") (setq eol-mnemonic-mac "\\r") diff --git a/shrc b/shrc index 7c67bcd..729c9e3 100755 --- a/shrc +++ b/shrc @@ -445,7 +445,7 @@ __my_pacman_update_mirrorlist_with_reflector(){ then cmd="reflector --verbose -l 5 --sort rate --save $ml" fi - echo "Running $cmd ..." 1>&2 + echo ">>> $cmd ..." 1>&2 sudo sh -c "$cmd" } null type reflector && test -f /etc/pacman.d/mirrorlist && \