いつものドットファイル(.bashrc, .vimrc, .screenrc)



.bashrc

export TERM=vt100-color
export LANG=ja_JP.UTF8

export HISTSIZE=10000
export HISTFILESIZE=10000
export HISTCONTROL=ignoredups
export PATH=$PATH:$HOME/bin:/sbin/:/usr/sbin
 
#prompt with coloring hostname
export PS1="[\u@\[\033[32m\]\h\[\033[0m\] \W]\\$ "
 
alias vi='vim'
#with coloring and long format
alias ll='ls -lGa'
#with coloring
alias ls='ls -G'
 
#keychain
keychain $HOME/.ssh/identity
source $HOME/.ssh-agent-$HOSTNAME

.screenrc

 escape ^z^z
 term xterm-color
 vbell off
 startup_message off
 autodetach on
 hardstatus alwayslastline "[%02c] %`%-w%{=b bw}%n %t%{-}%+w"

.vimrc

set nobackup
set showmode
set tabstop=4
set shiftwidth=4
set expandtab
set showmatch
set backspace=2
set number
set ignorecase
 
syntax on
 
nnoremap j gj
nnoremap k gk
nnoremap <Down> g<Down>
nnoremap <Up> g<Up>

参考URL

Comments are closed.