Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

なんか良い感じにした

  • Loading branch information...
commit 048278c7a0b3532eea740f992cca48dd9e9ce669 1 parent a65ad58
@mironal authored
Showing with 49 additions and 26 deletions.
  1. +9 −0 .bashrc
  2. +0 −24 .my_zshrc
  3. +29 −2 .zshrc
  4. +11 −0 setup.sh
View
9 .bashrc
@@ -0,0 +1,9 @@
+PATH=$PATH:$HOME/bin
+export PATH
+
+# tmux
+alias tmux='tmuxx'
+alias tm='tmuxx'
+alias tma='tmux attach'
+alias tml='tmux list-window'
+
View
24 .my_zshrc
@@ -1,25 +1 @@
-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"
-alias ll="ls -l"
-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
View
31 .zshrc
@@ -5,8 +5,7 @@ ZSH=$HOME/.oh-my-zsh
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
-ZSH_THEME="muse"
-
+ZSH_THEME="sorin"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
@@ -33,6 +32,34 @@ plugins=(git)
source $ZSH/oh-my-zsh.sh
+
+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"
+alias ll="ls -l"
+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...
if [ -f ~/.my_zshrc ]; then
View
11 setup.sh
@@ -11,3 +11,14 @@ cp bin/tmuxx $HOME/bin/
cp bin/reattach-to-user-namespace $HOME/bin
cp -r .vim ~/.vim
+
+
+case "${OSTYPE}" in
+freebsd*|darwin*)
+
+ echo "alias tmux='tmuxx'" >> ~/.bashrc
+ echo "alias tm='tmuxx'" >> ~/.bashrc
+ echo "alias tma='tmux attach'" >> ~/.bashrc
+ echo "alias tml='tmux list-window'" >> ~/.bashrc
+ ;;
+esac
Please sign in to comment.
Something went wrong with that request. Please try again.