Created
March 24, 2009 13:35
-
-
Save Pafuxu/84084 to your computer and use it in GitHub Desktop.
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
### .bash_profile | |
# 日付を英語表記 | |
#export LC_TIME=en_US.UTF-8 | |
# サーチパス | |
export PATH=/opt/local/bin:/opt/local/sbin/:$PATH | |
export MANPATH=/opt/local/share/man:/opt/local/man:$MANPATH | |
# プロンプトデザイン | |
export PS1="\u@ \h: \w\n\$ " | |
export SUDO_PS1="\[\e[31m\]\u@\e[0m \h: \w\n\[\e[31m\]\\$\e[0m " | |
# 補完機能 | |
if [ -f /opt/local/etc/bash_completion ]; then | |
. /opt/local/etc/bash_completion | |
fi | |
complete -W "$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d ' ' | sed -e s/,.*//g | uniq | grep -v "\["`;)" ssh | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment