Skip to content

Instantly share code, notes, and snippets.

@ikr7
Created November 26, 2014 13:23
Show Gist options
  • Save ikr7/53ca2239db0a3b478821 to your computer and use it in GitHub Desktop.
Save ikr7/53ca2239db0a3b478821 to your computer and use it in GitHub Desktop.
LANG=ja_JP.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # ふつうの
PATH=$HOME/.nodebrew/current/bin:$PATH # nodebrewの
PATH=/usr/local/opt/coreutils/libexec/gnubin:$PATH # gnubinの
PATH=/usr/local/opt/llvm/bin:$PATH #llvmの
HISTFILE=~/.zsh_history
HISTSIZE=1000000
SAVEHIST=1000000
# mikutter で日本語
XMODIFIERS=@im=uim
GTK_IM_MODULE=uim
setopt transient_rprompt # 右プロンプトは最終行にのみ出す
setopt auto_cd # ディレクトリ名だけで cd
setopt magic_equal_subst # dd とかで = の後でもパスを補完
setopt correct # スペルチェック
# プロンプトで色使うために
autoload -U colors && colors
PROMPT=%(?."%{${fg[green]}%}✘╹◡╹✘%{${reset_color}%} > "."%{${fg[magenta]}%}✘╹﹏╹✘%{${reset_color}%} > ")
RPROMPT=%~
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
alias m="ruby ~/.mikutter/mikutter.rb" #mikutter
alias f="open . -a Finder" #カレントディレクトリをFinderで開く
alias v="vim ." #カレントディレクトリをVimで開く
alias ..="cd .."
alias glup="gulp"
alias gcc="x86_64-apple-darwin13.1.0-gcc-4.8"
alias ls="ls --color -F1"
# ディレクトリ作ってそこに行く
take() {
mkdir $1 && cd $1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment