瀏覽代碼

Fix for WSL

master
10sr 4 年之前
父節點
當前提交
31adcaf66c
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      profile

+ 3
- 1
profile 查看文件

@@ -24,7 +24,9 @@ export RUBYLIB="$RUBYLIB:$HOME/.local/lib/gems/lib"


# in my environment powerdown does not work
test -z "$DISPLAY" && test -z "$SSH_CONNECTION" && \
test -z "$DISPLAY" && \
test -z "$SSH_CONNECTION" && \
! (uname -r | grep Microsoft >/dev/null) &&\
type setterm >/dev/null 2>&1 && \
setterm -blank 30 -powersave on # -powerdown 10



Loading…
取消
儲存