57 lines
1.3 KiB
Bash
57 lines
1.3 KiB
Bash
#if [ "$TERM" == "linux" ]; then
|
|
# LANG=C
|
|
#fi
|
|
#export LANG
|
|
|
|
PATH="~/Documents/bin:$PATH"
|
|
|
|
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=""
|
|
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"
|
|
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 '
|
|
|
|
export TRASH="${HOME}/.Trash/"
|
|
#complete -c man sudo gksu
|
|
complete -c man sudo
|
|
|
|
set -o noclobber
|
|
|
|
alias ls='ls -G'
|
|
alias l='ls -alh'
|
|
alias cp='cp -iv'
|
|
alias mv='mv -iv'
|
|
alias ln='ln -iv'
|
|
alias rm='rm -iv'
|
|
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'
|
|
|
|
### Added by the Heroku Toolbelt
|
|
export PATH="/usr/local/heroku/bin:$PATH"
|