瀏覽代碼

remove CR when in windows and less file

pull/1/head
10sr 12 年之前
父節點
當前提交
1856e115d7
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. +6
    -1
      .bashrc

+ 6
- 1
.bashrc 查看文件

@@ -42,7 +42,12 @@ test -r /etc/bashrc && . /etc/bashrc

export PS1="\$(prompt_function)\$ "
# PROMPT_COMMAND=prompt_function
export PAGER="less"
if iswindows
then
export PAGER="tr -d \\r | less"
else
export PAGER="less"
fi
export EDITOR="vi"
export VISUAL="$EDITOR"
export LESS="-iRMX"


Loading…
取消
儲存