diff --git a/shellscript/.bashrc b/shellscript/.bashrc index ba4aa76..1348ce6 100644 --- a/shellscript/.bashrc +++ b/shellscript/.bashrc @@ -1,6 +1,8 @@ #if [ "$TERM" == "linux" ]; then # LANG=C #fi +#export LANG + PS1='\[\e[1;32m\]\D{%F %T}\[\e[0m\] \[\e[1;34m\]\w\[\e[0;1m\] \$ \[\e[0m\]' #if [ "$TERM" == "xterm" ]; then @@ -8,19 +10,25 @@ PS1='\[\e[1;32m\]\D{%F %T}\[\e[0m\] \[\e[1;34m\]\w\[\e[0;1m\] #\$ \[\e[0m\]' #fi PS2="" +export PS1 +export PS2 + #PATH="/Applications/wxMaxima.app/bin:$PATH" #PATH="/Applications/gnuplot.app/bin:$PATH" PATH="/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin:$PATH" -#export PATH=/opt/local/bin:/opt/local/sbin/:$PATH -#export MANPATH=/opt/local/man:$MANPATH -#EDITOR=vi -HISTSIZE=80000 -HISTFILESIZE=$((HISTSIZE*2)) -#重複履歴を無視 +PATH=/opt/local/bin:/opt/local/sbin:$PATH +MANPATH=/opt/local/man:$MANPATH +export PATH +export MANPATH + +export HISTSIZE=80000 +export HISTFILESIZE=$((HISTSIZE*2)) export HISTCONTROL=ignoredups export HISTTIMEFORMAT='%Y-%m-%d %T ' + #complete -c man sudo gksu complete -c man sudo + alias ls='ls -G' alias l='ls -alh' alias cp='cp -v'