瀏覽代碼

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

Loading…
取消
儲存