소스 검색

do not add to PATH directory that does not exist

pull/1/head
10sr 11 년 전
부모
커밋
ba3ef9321a
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. +8
    -1
      bashrc

+ 8
- 1
bashrc 파일 보기

@@ -54,7 +54,14 @@ __match(){

if ! __match "$PATH" "$HOME/.local/bin"
then
PATH="${PATH}:${HOME}/.local/bin:$HOME/.local/lib/gems/bin"
if test -d "$HOME/.local/bin"
then
PATH="${HOME}/.local/bin:${PATH}"
fi
if test -d "$HOME/.local/lib/gems/bin"
then
PATH="$HOME/.local/lib/gems/bin:${PATH}"
fi
fi

if ismsys && ! __match "$PATH" /c/mingw/bin


불러오는 중...
취소
저장