shinnoske0727
3/10/2018 - 2:55 PM

.zshrc

#
# Executes commands at the start of an interactive session.
#
# Authors:
#   Sorin Ionescu <sorin.ionescu@gmail.com>
#

# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
  source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi

# Customize to your needs...
if [ -d $HOME/.anyenv ] ; then
    export PATH="$HOME/.anyenv/bin:$PATH"
    eval "$(anyenv init -)"
fi

eval "$(hub alias -s)"

if [ -f ~/enhancd/init.sh ]; then
 source ~/enhancd/init.sh
fi

function fibe() {
    git clone git@github.com:kayac/kayac-html5-starter.git;
    mv kayac-html5-starter repository;
    rm -rf ./**/.git;
}
function scrap() {
    open "https://scrapbox.io/kiyoshidainagon-56200223/$1";
    exit;
}
function anim() {
    open "https://scrapbox.io/kiyoshidainagon-56200223/$1?body=#animation";
    exit;
}
alias gch="git branch | peco | xargs git checkout"
alias gcb="git checkout -b"
alias gbr="git branch -a"
alias gcz="git cz"
alias gph="git push"
alias gpl="git pull"
alias gcm="git commit"
alias gsh="git stash"
alias gap="git add -p"
alias ns="npm start"
alias nr="npm run"
alias ys="yarn start"
alias gbw="git browse"
alias gsp="git stash list | peco | xargs git stash pop"
alias tree="tree -I node_modules -L 2"
export PATH="/usr/local/opt/mozjpeg/bin:$PATH"
export PATH="/usr/local/opt/icu4c/bin:$PATH"
export PATH="/usr/local/opt/icu4c/sbin:$PATH"
export PATH="/usr/local/sbin:$PATH"


# tabtab source for serverless package
# uninstall by removing these lines or running `tabtab uninstall serverless`
[[ -f /Users/irie-shinnosuke/.anyenv/envs/ndenv/versions/v8.4.0/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.zsh ]] && . /Users/irie-shinnosuke/.anyenv/envs/ndenv/versions/v8.4.0/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.zsh
# tabtab source for sls package
# uninstall by removing these lines or running `tabtab uninstall sls`
[[ -f /Users/irie-shinnosuke/.anyenv/envs/ndenv/versions/v8.4.0/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.zsh ]] && . /Users/irie-shinnosuke/.anyenv/envs/ndenv/versions/v8.4.0/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.zsh

### Added by IBM Cloud CLI
source /usr/local/Bluemix/bx/zsh_autocomplete