Skip to content

Instantly share code, notes, and snippets.

View hiroaki-yamamoto's full-sized avatar
The most important thing to understand about me is to understand myself.

Hiroaki Yamamoto hiroaki-yamamoto

The most important thing to understand about me is to understand myself.
View GitHub Profile
@hiroaki-yamamoto
hiroaki-yamamoto / .zshrc
Created April 17, 2015 13:08
.zshrc I'm usually using on OS X
#Load auto completion module, colors, and history functions.
autoload -U compinit promptinit colors smart-insert-last-word
compinit
promptinit
colors
zstyle ':completion:*:default' menu select=1 ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z} r:|[-_.]=**'
#Prompt
PROMPT="[%{$fg[green]%B%}%n%{%b$reset_color%}@%{$fg[magenta]%B%}%M%{%b$reset_color%} (%{$fg[yellow]%B%}%l%{%b$reset_color%}) %{$fg[cyan]%B%}%~%{%b$reset_color%}]"
@hiroaki-yamamoto
hiroaki-yamamoto / .zshenv
Created July 22, 2014 09:08
Z shell config files that I'm usually using
HISTFILE=~/.history
HISTSIZE=10
SAVEHIST=10
#Video Accel
export EDITOR="vim"
export LIBVA_DRIVER_NAME=vdpau
export VDPAU_DRIVER=radeonsi
export PINENTRY="/usr/bin/pinentry-qt4"
export PATH="${PATH}:${HOME}/bin:${HOME}/.gem/ruby/2.1.0/bin"
@hiroaki-yamamoto
hiroaki-yamamoto / .vimrc
Created July 22, 2014 09:06
vimrc that I'm usually using
" All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just
" /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime
" you can find below. If you wish to change any of those settings, you should
" do it in this file (/etc/vimrc), since archlinux.vim will be overwritten
" everytime an upgrade of the vim packages is performed. It is recommended to
" make changes after sourcing archlinux.vim since it alters the value of the
" 'compatible' option.
" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages.