From 7e23df416e7c7498362b0b008b7e52a3c699c15e Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 21 Sep 2013 11:08:57 +0900 Subject: [PATCH 1/2] do not run setterm if login with ssh --- profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profile b/profile index a41a3e2..d4ed007 100755 --- a/profile +++ b/profile @@ -38,4 +38,5 @@ export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$_python_pkg_conf" #export MANPATH="`manpath`:$HOME/.local/share/man" # in my environment powerdown does not work -type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10 +test -z "$SSH_CONNECTION" && \ + type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10 From 85d290154258d0fc421877df7132b5d76f7ff8dd Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 21 Sep 2013 18:15:00 +0900 Subject: [PATCH 2/2] alias make as compile --- emacs.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/emacs.el b/emacs.el index be2af09..392f10a 100644 --- a/emacs.el +++ b/emacs.el @@ -1889,10 +1889,11 @@ if arg given, use that eshell buffer, otherwise make new eshell buffer." (define-key ctl-x-map "s" 'my-rgrep) -(defun make () - "Run \"make -k\" in current directory." - (interactive) - (compile "make -k")) +;; (defun make () +;; "Run \"make -k\" in current directory." +;; (interactive) +;; (compile "make -k")) +(defalias 'make 'compile) (defvar sed-in-place-history nil "History of `sed-in-place'")