#if [ "$TERM" == "linux" ]; then # LANG=C #fi PS1='\[\e[1;32m\]\D{%F %T}\[\e[0m\] \[\e[1;34m\]\w\[\e[0;1m\] \$ \[\e[0m\]' #if [ "$TERM" == "xterm" ]; then # PS1='\[\e]2;\w\a\e[1;32m\]\D{%F %T}\[\e[0m\] \[\e[1;34m\]\w\[\e[0;1m\] #\$ \[\e[0m\]' #fi 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)) #重複履歴を無視 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' alias mv='mv -v' alias rm='rm -v' alias grep='grep --color' alias egrep='egrep --color' alias bc='bc -l' alias c=cat alias e=echo alias g=grep alias f=find #alias o=xdg-open alias o=open #alias d=gvfs-trash #alias rm='gmv -f --backup=numbered --target-directory ~/.Trash' alias rm='mv -f --target-directory ~/.Trash'