.bash_profileと.bashrcを書いてみる [Mac]
別に凝ったことしてるわけじゃないです.
ごく最低限の設定だけ.
今後,これに必要なものを追加していく.
.bash_profile
Android SDK用のPATHを追加してるだけですね.
.bashrc
aliasを設定してるだけです.ls関係はよく使うので.あと安全のためrm.
ごく最低限の設定だけ.
今後,これに必要なものを追加していく.
.bash_profile
Android SDK用のPATHを追加してるだけですね.
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:/Developer/android-sdk-macosx/tools:/Developer/android-sdk-macosx/platform-tools
export PATH
.bashrc
aliasを設定してるだけです.ls関係はよく使うので.あと安全のためrm.
# .bashrc
# User specific aliases and functions
alias ls='ls -G'
alias la='ls -A'
alias ll='ls -alF'
alias rm='rm -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
2012-02-11 11:41
nice!(0)
トラックバック(0)