From 8b54b8d01709cc882bae5fbd70da9fe0f9bf3764 Mon Sep 17 00:00:00 2001 From: kou029w Date: Tue, 28 Aug 2012 23:46:41 +0900 Subject: [PATCH] =?UTF-8?q?.bashrc=E3=82=92=E5=85=AC=E9=96=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shellscript/.bashrc | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 shellscript/.bashrc diff --git a/shellscript/.bashrc b/shellscript/.bashrc new file mode 100644 index 0000000..42b2aca --- /dev/null +++ b/shellscript/.bashrc @@ -0,0 +1,39 @@ +#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'