Created
October 28, 2010 17:32
-
-
Save rummelonp/651866 to your computer and use it in GitHub Desktop.
現在の.profileさん
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MacPorts | |
export PATH="$PATH:/opt/local/bin:/opt/local/sbin" | |
# Android | |
ANDROID_HOME="/Applications/android-sdk-mac_86" | |
export PATH="$PATH:${ANDROID_HOME}/tools" | |
# Ruby Version Manager | |
if [ -f $HOME/.rvm/scripts/rvm ]; then | |
source $HOME/.rvm/scripts/rvm | |
fi | |
# Dropbox | |
DROPBOX_HOME="$HOME/Dropbox" | |
if [ -d $DROPBOX_HOME/bin ]; then | |
export PATH="$PATH:$DROPBOX_HOME/bin" | |
fi | |
# Rsense | |
export RSENSE_HOME="$HOME/.emacs.d/elisp/rsense" | |
# Editor | |
export EDITOR="emacsclient" | |
# color | |
export PS1="\[\e]0;\u@\h: \w\a\]\[\033[01;36m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ " | |
# history | |
export HISTSIZE="10000" | |
export HISTFILESIZE="10000" | |
export HISTCONTROL="ignoredups" | |
# some more ls aliases | |
alias ls="ls -G" | |
alias ll="ls -alF" | |
alias la="ls -A" | |
alias l="ls -CF" | |
# other aliases | |
alias emacs="open -a /Applications/Emacs.app" | |
alias e="emacs" | |
alias en="emacs -n --args --debug-init" | |
alias emacsclient="emacsclient -n" | |
alias ec="emacsclient" | |
alias less="less -R" | |
alias diff="colordiff --side-by-side --suppress-common-lines" | |
# readline | |
bind -x '"\C-x\C-e": e' | |
bind '"\e\C-f": forward-word' | |
bind '"\e\C-b": backward-word' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment