view rc/zshrc @ 538:f5b6dba3308b

Add syntax highlight for blade (laravel).
author edogawaconan <me@myconan.net>
date Mon, 05 Jan 2015 21:49:47 +0900
parents 77c1f9e624a3
children
line wrap: on
line source

#!/usr/bin/env zsh
[ -f "${HOME}/.ec.zsh.before" ] && . "${HOME}/.ec.zsh.before"
case $TERM in
  xterm*|screen*)
    precmd () {print -Pn "\e]0;%n@%m: %~\a"}
  ;;
esac
PS1='[%n@%m %~]%% '
export PATH="${HOME}/.ec.bin:${PATH}"
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
setopt appendhistory nomatch
unsetopt autocd beep extendedglob notify
bindkey -e
bindkey '^[[A' history-search-backward
bindkey '^[[B' history-search-forward

autoload -Uz compinit
compinit

export EDITOR=vi
export PAGER='less -Rins'
alias less='less -Rins'
alias ls='ls -F'
[ -f "${HOME}/.ec.zsh.after" ] && . "${HOME}/.ec.zsh.after"