Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

우분투 스타일 만들기

...

  • Ubuntu 스타일 터미널 프로파일 받기
  • 프로파일 새로 만들기 (다운로드 안 받을 경우)
    • 배경: #300A24
    • 서체: Monaco 12pt 문자간격 1.05
    • 텍스트 색상: #CCCCCC
    • 선택부분: 기본 색상 + 불투명도 57%
  • bash_profile 설정
    • Panel

      ~$ vi ~/.bash_profile


      force_color_prompt=yes


      if [-n"$force_color_prompt"];then

          if [-x /usr/bin/tput ]&& tput setaf 1>&/dev/null;then

              # We have color support; assume it's compliant with Ecma-48

              # (ISO/IEC-6429). (Lack of such support is extremely rare, and such

              # a case would tend to support setf rather than setaf.)

              color_prompt=yes

          else

              color_prompt=

          fi

      fi


      if ["$color_prompt"=yes];then

          PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

      else

          PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '

      fi

      unset color_prompt force_color_prompt


      # If this is an xterm set the title to user@host:dir

      case"$TERM"in

      xterm*|rxvt*)

          PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"

          ;;

      *)

          ;;

      esac


      # some more ls aliases

      alias ls='ls -G'

      alias ll='ls -alGF'