From 689b3a354f96fdbc06d3217eafb4bfa8b36563f6 Mon Sep 17 00:00:00 2001 From: kn1cht Date: Tue, 21 Jun 2016 00:52:48 +0900 Subject: [PATCH] added .zshrc --- .zshrc | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .zshrc diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..d8125f5 --- /dev/null +++ b/.zshrc @@ -0,0 +1,39 @@ +# Lines configured by zsh-newuser-install +HISTFILE=~/.histfile +HISTSIZE=1000 +SAVEHIST=1000 +bindkey -v +# End of lines configured by zsh-newuser-install + +# プロンプト +# 1行表示 +PROMPT="%F{cyan}%m:%~ %n$ %f" + +#for zsh-completions +fpath=(/usr/local/share/zsh-completions $fpath) +autoload -Uz compinit +compinit -u +autoload -Uz colors +colors +zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' + +setopt print_eight_bit +setopt ignore_eof +setopt interactive_comments +setopt auto_cd +setopt pushd_ignore_dups +setopt share_history +setopt hist_ignore_all_dups +setopt hist_reduce_blanks +setopt extended_glob + +alias vv="g++ --std=c++11 -O2 -Wall" +alias ls='ls -G' +alias mkdir='mkdir -p' +alias sudo='sudo ' +# C で標準出力をクリップボードにコピーする +# mollifier delta blog : http://mollifier.hatenablog.com/entry/20100317/p1 +alias -g C='| pbcopy' + +export PATH="$PATH:"/Applications/microchip/xc8/v1.35/bin"" +export PATH=$PATH:/usr/local/share/git-core/contrib/diff-highlight