bash 最近使うことが増えたので、詳細はことらを参照

とりあえず、環境設定

 vi $HOME/.bash_profile
  # .bash_profile
  # Get the aliases and functions
  if [ -f ~/.bashrc ]; then
          . ~/.bashrc
  fi
  # User specific environment and startup programs
  PATH=$PATH:$HOME/bin::$HOME/vim/bin
  export PATH
 vi $HOME/.bash_profile
  # .bashrc from .bash_profile
  # see also
  ulimit -c 0
  # alias
  alias h='history 25'
  alias j='jobs -l'
  alias la='ls -a'
  alias lf='ls -FA'
  alias ll='ls -lA'
  alias rm='rm -i'
  alias cp='cp -i'
  alias mv='mv -i'
  alias more='less'
  alias vi='vim'
  alias view='vim -R'
  # A righteous umask
  umask 22
  # shell environment variables
  export LANG=ja_JP.UTF-8
  export EDITOR=vim
  export PAGER=less
  export PS1="\u@\h \w % "
  export TMPDIR=/tmp
  export TZ=JST-09
  # An interactive shell -- set some stuff up
  set filec
  set history = 100
  set savehist = 100
  stty dec crt erase ^H eof ^D quit ^\\ start ^- stop ^-

UNIX


トップ   差分 バックアップ リロード   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2012-07-24 (火) 01:43:39 (2991d)