.bashrc カスタマイズ


NEETER

bash のプロンプト編集

  • .bashrc
    user01@ [09:29:54] $pwd
    /Users/user01
    
    user01@ [09:29:59] $cat .bashrc 
    export PS1='\[\033[01;32m\]\u@\[\033[01;34m\] [\t] \$\[\033[00m\]'
  • .bash_profile
    $cat .bash_profile 
    if [ -f ~/.bashrc ]; then
        . ~/.bashrc
    fi

最新の20件

2019-06-01 2019-05-20 2019-05-13 2015-08-29 2009-11-07 2009-06-06 2008-12-20 2006-09-22 2006-06-20 2006-06-19

  • counter: 93
  • today: 2
  • yesterday: 0
  • online: 1