浏览代码

do not run setterm if login with ssh

pull/1/head
10sr 11 年前
父节点
当前提交
7e23df416e
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      profile

+ 2
- 1
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

正在加载...
取消
保存