-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc.darwin
25 lines (21 loc) · 1.1 KB
/
.zshrc.darwin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
export PATH=/Users/seo.naotoshi/.rbenv/shims:$PATH
#### options ####
setopt auto_cd
function chpwd(){ls -F -G}
#### plugins ####
# z - jump around https://github.com/rupa/z
[ -f `brew --prefix`/etc/profile.d/z.sh ] && . `brew --prefix`/etc/profile.d/z.sh
#### alias ####
alias ls='ls -G'
alias tmux='tmux -f ~/.tmux.conf.darwin'
# alias ctags="`brew --prefix`/bin/ctags"
if [ -d /Applications/MacVim.app ]; then
export EDITOR=/Applications/MacVim.app/Contents/MacOS/Vim
alias vim='env PATH=/usr/bin:$PATH /Applications/MacVim.app/Contents/MacOS/Vim'
alias vi='vim'
fi
[ -d /Applications/Sublime\ Text\ 2.app ] && alias sublime='/Applications/Sublime\ Text\ 2.app/Contents/MacOS/Sublime\ Text\ 2'
[ -d /Applications/Sublime\ Text.app ] && alias sublime='/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text'
[ -d /Applications/CotEditor.app ] && alias cot='/Applications/CotEditor.app/Contents/MacOS/CotEditor'
[ -d /Applications/Marked.app ] && alias marked='/Applications/Marked.app/Contents/MacOS/Marked'
[ -d /Applications/TextMate.app ] && alias mate='/Applications/TextMate.app/Contents/MacOS/TextMate'