Permalink
Browse files

OS毎にファイルにした

  • Loading branch information...
1 parent 78a91e6 commit b68d1485154dcb1c6bc919fd6296cb4130851b5e @mironal committed Nov 28, 2012
Showing with 23 additions and 16 deletions.
  1. +12 −16 .zshrc
  2. +2 −0 .zshrc.linux
  3. +9 −0 .zshrc.mac
View
28 .zshrc
@@ -32,17 +32,21 @@ plugins=(git)
source $ZSH/oh-my-zsh.sh
+case "${OSTYPE}" in
+ freebsd*|darwin*)
+ if [ -f ~/dotfiles/.zshrc.mac ]; then
+ source ~/dotfiles/.zshrc.mac
+ fi
+ ;;
+ linux*)
+ if [ -f ~/dotfiles/.zshrc.linux ]; then
+ source ~/dotfiles/.zshrc.linux
+ fi
+ ;;
+esac
alias where="command -v"
alias j="jobs -l"
-case "${OSTYPE}" in
-freebsd*|darwin*)
- alias ls="ls -G -w -h"
- ;;
-linux*)
- alias ls="ls --color -h"
- ;;
-esac
alias la="ls -al"
alias lf="ls -F"
@@ -51,14 +55,6 @@ alias du="du -h"
alias df="df -h"
alias su="su -l"
-case "${OSTYPE}" in
-darwin*)
- export EDITOR=/Applications/MacVim.app/Contents/MacOS/Vim
- alias vi='env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim "$@"'
- alias vim='env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim "$@"'
- ;;
-esac
-
# Customize to your needs...
View
@@ -0,0 +1,2 @@
+
+alias ls="ls --color -h"
View
@@ -0,0 +1,9 @@
+alias ls="ls -G -w -h"
+
+export EDITOR=/Applications/MacVim.app/Contents/MacOS/Vim
+alias vi='env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim "$@"'
+alias vim='env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim "$@"'
+
+
+alias tmux="tmuxx"
+

0 comments on commit b68d148

Please sign in to comment.