diff --git a/.bashrc b/.bashrc index 58b7da0..f9ead92 100755 --- a/.bashrc +++ b/.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"