소스 검색

fix

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

+ 10
- 14
bashrc 파일 보기

@@ -76,14 +76,16 @@ fi
#######################

uname -a
if test -f /etc/issue.net

if [ "${EMACS}" = "t" ]; then # for emacs shell
true export PS1="\u@\H \d \t \w\nemacs shell\$ "
elif echo "$EMACS" | grep term >/dev/null 2>&1; then # for emacs term
echo "Emacs Term"
fi

if test -f /etc/issue
then
cat /etc/issue.net
else
if test -f /etc/issue
then
cat /etc/issue
fi
cat /etc/issue
fi

###################################
@@ -128,7 +130,7 @@ alias arch-upgrade="yaourt -Syu"
alias port-upgrade="port selfupdate && port sync && port upgrade installed"

if iscygwin; then
! null type windate && alias windate="/c/Windows/System32/cmd.exe //c 'echo %DATE%-%TIME%'"
null type windate || alias windate="/c/Windows/System32/cmd.exe //c 'echo %DATE%-%TIME%'"
alias cygsu="cygstart /cygwinsetup.exe"
alias emacs="CYGWIN=tty emacs -nw"
alias ls="ls -CFG $(test "$TERM" == dumb || echo --color=auto)"
@@ -330,12 +332,6 @@ __my_prompt_function(){ # used by PS1
printf "shlv:${SHLVL} jobs:${jobnum} last:${lastreturn} "
}

if [ "${EMACS}" = "t" ]; then # for emacs shell
true export PS1="\u@\H \d \t \w\nemacs shell\$ "
elif echo "$EMACS" | grep term >/dev/null 2>&1; then # for emacs term
echo "emacs term"
fi

#Change ANSI Colors
_chengecolors(){
echo -e \


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