[from now] 2014/08/16 01:09:27

diff --git a/.bash_profile b/.bash_profile
index 076e4d5..64a80f9 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -1,16 +1,8 @@
 export EDITOR=vim
 export TERM=xterm-256color
-
-PATH=""
+export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
 PATH=$HOME/.plenv/bin:$PATH
 PATH=$HOME/.rbenv/bin:$PATH
-PATH=/usr/local/sbin:$PATH
-PATH=/usr/local/bin:$PATH
-PATH=/usr/sbin:$PATH
-PATH=/usr/bin:$PATH
-PATH=/sbin:$PATH
-PATH=/bin:$PATH
-export PATH

 alias vi='vim'
 alias grep='grep --color=auto'
@@ -40,11 +32,18 @@ function prompt {
   else
     PS1='\[\033k\033\\\]\[\e[00;36m\]\D{%0I:%M:%S} [\u@\h \W]\$ \[\e[0m\]'
   fi
+  [[ ${__new_wd:=$PWD} != $PWD ]] && ls; __new_wd=$PWD
 }
 PROMPT_COMMAND=prompt

 IGNOREEOF=10

-function cd {
-  builtin cd "$@" && ls
-}
+shopt -s autocd
+shopt -s cdspell
+shopt -s dirspell
+shopt -s globstar
+shopt -s nocaseglob
+
+if [ -f $(brew --prefix)/etc/bash_completion ]; then
+  . $(brew --prefix)/etc/bash_completion
+fi
diff --git a/.inputrc b/.inputrc
new file mode 100644
index 0000000..236bfdd
--- /dev/null
+++ b/.inputrc
@@ -0,0 +1 @@
+set completion-ignore-case on
diff --git a/.screenrc b/.screenrc
index 77d1046..0b9694a 100644
--- a/.screenrc
+++ b/.screenrc
@@ -1,18 +1,17 @@
 escape ^Tt
-shell -/bin/bash
+shell -bash
 autodetach on
 term xterm-256color
-termcapinfo  xterm-256color hs@:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l\E[?1;4;6l
+termcapinfo xterm-256color hs@:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l\E[?1;4;6l
 vbell off
 startup_message off
 defscrollback 21000
-defkanji utf-8
 defencoding utf-8
 encoding utf-8
 hardstatus off
 caption always "%{= kw}%0C:%s %{= kd}%-w%{= ck}%n %t%{-}%+w"
 shelltitle "$ | bash"
-msgwait 5
+msgwait 2
 zombie

 bind " "
@@ -42,8 +41,12 @@ bind C
 bind D
 bind F
 bind H
+bind I
+bind K
+bind L
 bind M
 bind N
+bind O
 bind Q
 bind S
 bind W
@@ -55,6 +58,7 @@ bind _
 bind b
 bind c screen
 bind d detach
+bind e eval "encoding euc-jp utf8" "echo 'Use euc-jp!'"
 bind f
 bind h
 bind i
@@ -65,8 +69,9 @@ bind n
 bind p paste .
 bind q
 bind r
-bind s
+bind s eval "encoding sjis utf8" "echo 'Use sjis!'"
 bind t
+bind u eval "encoding utf8 utf8" "echo 'Use utf8!'"
 bind v
 bind w windowlist -b
 bind x
diff --git a/.vimrc b/.vimrc
index 5d44ee5..c1ec143 100644
--- a/.vimrc
+++ b/.vimrc
@@ -44,6 +44,7 @@ inoremap <C-B> <ESC>:Unite buffer<CR>

 syntax on
 set encoding=utf8
+set termencoding=utf8
 set fileencoding=utf8
 set fileencodings=euc-jp,sjis,utf8
 set fileformat=unix
diff --git a/.zshrc b/.zshrc
index 7635191..1779cdd 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,17 +1,6 @@
 export EDITOR=vim
 export TERM=xterm-256color

-alias grep='grep --color=auto'
-alias egrep='egrep --color=auto'
-alias fgrep='fgrep --color=auto'
-alias rm='rm -i'
-alias cp='cp -i'
-alias mv='mv -i'
-alias ll='ls -l'
-alias la='ls -lA'
-alias rake='noglob rake'
-alias .='source'
-
 path=(
   $HOME/.plenv/bin(N-/)
   $HOME/.rbenv/bin(N-/)
@@ -24,10 +13,17 @@ path=(
   /bin
 )

-[ -f $HOME/.travis/travis.sh  ] && source $HOME/.travis/travis.sh
-
-eval "$(plenv init -)"
-eval "$(rbenv init -)"
+alias vi='vim'
+alias grep='grep --color=auto'
+alias egrep='egrep --color=auto'
+alias fgrep='fgrep --color=auto'
+alias rm='rm -i'
+alias cp='cp -i'
+alias mv='mv -i'
+alias ll='ls -l'
+alias la='ls -lA'
+alias rake='noglob rake'
+alias .='source'

 case $(uname) in
 Linux)
@@ -39,7 +35,7 @@ Linux)
 esac

 # PROMPT
-PROMPT='%(?,%F{green},%F{red})%D{%I:%M:%S} [%n@%m]%#%f '
+PROMPT='%(?,%F{green},%F{red})%D{%I:%M:%S} [%n@%m %1~]%#%f '

 # RPROMT
 autoload -Uz vcs_info
@@ -117,7 +113,7 @@ if [ -n "$TERMCAP" ]; then
   }
 fi

-[[ -s "$HOME/.zshrc.local" ]] && source "$HOME/.zshrc.local"
+function chpwd() { ls }

 # tmux
 TMUX_SESSION='mahalo'
@@ -127,4 +123,8 @@ else
   tmux new -s $TMUX_SESSION
 fi

-function chpwd() { ls }
+[ -f $HOME/.zshrc.local     ] && source $HOME/.zshrc.local
+[ -f $HOME/.travis/travis.sh  ] && source $HOME/.travis/travis.sh
+
+eval "$(plenv init -)"
+eval "$(rbenv init -)"
diff --git a/Brewfile b/Brewfile
index e0605cb..02c03e4 100644
--- a/Brewfile
+++ b/Brewfile
@@ -2,6 +2,7 @@ update
 upgrade

 install android-sdk android-platform-tools
+install bash
 install git
 install git-flow
 install git-now
[from now] 2014/08/16 01:14:46

diff --git a/.gitconfig b/.gitconfig
index 1a73ac4..4174ed4 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -4,10 +4,12 @@
 [color]
     ui = auto
 [alias]
-    ci = commit
-    co = checkout
-    st = status
-    l  = log --graph --pretty=format:\"%C(yellow)[%ci] %C(blue)%h %C(magenta)%an %C(cyan)%s\"
+    ci  = commit
+    co  = checkout
+    st  = status
+    br  = branch
+    bra = branch -a
+    l   = log --graph --pretty=format:\"%C(yellow)[%ci] %C(blue)%h %C(magenta)%an %C(cyan)%s\"
 [push]
     default = matching
 [core]
[from now] 2014/08/16 09:13:13

diff --git a/.bash_profile b/.bash_profile
index 64a80f9..9b15aaf 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -38,12 +38,11 @@ PROMPT_COMMAND=prompt

 IGNOREEOF=10

-shopt -s autocd
-shopt -s cdspell
-shopt -s dirspell
-shopt -s globstar
-shopt -s nocaseglob
-
 if [ -f $(brew --prefix)/etc/bash_completion ]; then
   . $(brew --prefix)/etc/bash_completion
 fi
+
+shopt -s autocd
+shopt -s globstar
+shopt -s histverify
+shopt -s nocaseglob
[from now] 2014/08/16 14:02:21

diff --git a/.bash_profile b/.bash_profile
index 9b15aaf..a37f05a 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -1,8 +1,6 @@
 export EDITOR=vim
 export TERM=xterm-256color
 export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-PATH=$HOME/.plenv/bin:$PATH
-PATH=$HOME/.rbenv/bin:$PATH

 alias vi='vim'
 alias grep='grep --color=auto'
@@ -13,6 +11,7 @@ alias cp='cp -i'
 alias mv='mv -i'
 alias ll='ls -l'
 alias la='ls -lA'
+alias gist='gist -poc'

 case $(uname) in
 Linux)
@@ -23,7 +22,10 @@ Linux)
   ;;
 esac

+PATH=$HOME/.plenv/bin:$PATH
 eval "$(plenv init -)"
+
+PATH=$HOME/.rbenv/bin:$PATH
 eval "$(rbenv init -)"

 function prompt {
diff --git a/.gitconfig b/.gitconfig
index 4174ed4..b7a0feb 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -4,12 +4,11 @@
 [color]
     ui = auto
 [alias]
-    ci  = commit
-    co  = checkout
-    st  = status
-    br  = branch
-    bra = branch -a
-    l   = log --graph --pretty=format:\"%C(yellow)[%ci] %C(blue)%h %C(magenta)%an %C(cyan)%s\"
+    ci = commit
+    co = checkout
+    st = status
+    b  = branch -a
+    l  = log --graph --pretty=format:\"%C(yellow)[%ci] %C(blue)%h %C(magenta)%an %C(cyan)%s\"
 [push]
     default = matching
 [core]
diff --git a/.vim/gist.vim b/.vim/gist.vim
index bb18aa4..e973af4 100644
--- a/.vim/gist.vim
+++ b/.vim/gist.vim
@@ -1 +1,4 @@
-let g:gist_post_private = 0
+let g:gist_detect_filetype = 1
+let g:gist_open_browser_after_post = 1
+let g:gist_show_privates = 1
+let g:gist_post_private = 1
diff --git a/.vimrc b/.vimrc
index c1ec143..ba661e3 100644
--- a/.vimrc
+++ b/.vimrc
@@ -79,4 +79,3 @@ set scrolloff=5
 set notimeout ttimeout ttimeoutlen=200
 set laststatus=2
 set cmdheight=1
-
diff --git a/Brewfile b/Brewfile
index 02c03e4..7d57e90 100644
--- a/Brewfile
+++ b/Brewfile
@@ -3,6 +3,7 @@ upgrade

 install android-sdk android-platform-tools
 install bash
+install gist
 install git
 install git-flow
 install git-now
[from now] 2014/08/16 14:11:05

diff --git a/.zshrc b/.zshrc
index 1779cdd..e71cef1 100644
--- a/.zshrc
+++ b/.zshrc
@@ -123,8 +123,8 @@ else
   tmux new -s $TMUX_SESSION
 fi

-[ -f $HOME/.zshrc.local     ] && source $HOME/.zshrc.local
-[ -f $HOME/.travis/travis.sh  ] && source $HOME/.travis/travis.sh
+[ -f $HOME/.zshrc.local      ] && source $HOME/.zshrc.local
+[ -f $HOME/.travis/travis.sh ] && source $HOME/.travis/travis.sh

 eval "$(plenv init -)"
 eval "$(rbenv init -)"