Kaynağa Gözat

remove CR when in windows and less file

pull/1/head
10sr 12 yıl önce
ebeveyn
işleme
1856e115d7
1 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  1. +6
    -1
      .bashrc

+ 6
- 1
.bashrc Dosyayı Görüntüle

@@ -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"


Yükleniyor…
İptal
Kaydet