Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ~/.bashrc: executed by bash(1) for non-login shells.
- export TERM=xterm-color
- export LSCOLORS=DxGxcxdxCxegedabagacad
- alias ls='ls -lahG'
- alias cp='cp -i'
- alias mv='mv -i'
- alias rm='rm -i'
- alias rehash='source ~/.bash_profile'
- alias df='df -h'
- alias du='du -h'
- alias tf='tail -f'
- alias less='less -r' # raw control characters
- alias grep='egrep --color' # show differences in colour
- # enable color support of ls and also add handy aliases
- if [ -x /usr/bin/dircolors ]; then
- test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
- alias ls='ls --color=auto'
- #alias dir='dir --color=auto'
- #alias vdir='vdir --color=auto'
- alias grep='grep --color=auto'
- alias fgrep='fgrep --color=auto'
- alias egrep='egrep --color=auto'
- fi
- function proml {
- # Attribute{codes:
- # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
- # Text color codes:
- # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
- # Background color codes:
- # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
- # \[\e[01;36m\]
- # PS1='\[\e]0;\w\a\]\n\[\e[01;33m\]\u\[\e[01;37m\]@\[\e[01;36m\]\h\[\e[01;37m\]\n\[\e[00;33m\]\w \[\e[0m\]\n\$ '
- # PS1='\[\e]0;\w\a\]\n\[\e[01;33m\]\u\[\e[01;37m\]@\[\e[01;36m\]\h\[\e[01;37m\]\n\[\e[00;33m\]\w \[\e[0m\]$(parse_git_branch)\n\$ '
- # Deixa o usuario azul, versao do Ruby e Gemset amarela, Diretorio roxo, Git vermelho
- # rvm-prompt i = Interpretador v = Versao g = Gemset
- PS1='\[\033[34m\]\u \[\033[1;33m\]`~/.rvm/bin/rvm-prompt i v g \[\033[35m\]\ \w
- `\[\033[0;31m\] `git branch 2> /dev/null | grep -e ^* | sed -E s/^\\\\\*\ \(.+\)$/\(\\\\\1\)\ /
- `\[\033[37m\]$\[\033[00m\] '
- export PS1
- }
- proml
- umask 002
- #PS1='[\h]$ '
- #PS1='[\h]$ '
- export PYTHONPATH="$PYTHONPATH:$HOME/.python/site-packages/"
- [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
Add Comment
Please, Sign In to add comment