pavement

.bashrc

From FreeBSDwiki
Revision as of 18:08, 29 July 2012 by DavidYoung (Talk | contribs)
Jump to: navigation, search

.bashrc is a script located in a user's home directory which will be executed when the bash shell starts. an example .bashrc is below. note that this is a bashrc from a linux system which I commented out a bunch of stuff that isn't supported over ssh/terminal sessions.

dave@samizdata:~% more .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If running interactively, then:
if [ "$PS1" ]; then

# don't put duplicate lines in the history. See bash(1) for more options
# export HISTCONTROL=ignoredups
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
#shopt -s checkwinsize

# enable color support of ls and also add handy aliases
#    if [ "$TERM" != "dumb" ]; then
#        eval `dircolors -b`
#        alias ls='ls --color=auto'
#        alias dir='ls --color=auto --format=vertical'
#        alias vdir='ls --color=auto --format=long'
#    fi
# some more ls aliases
#    alias ll='ls -l'
#    alias la='ls -A'
#    alias l='ls -CF'

   # less pipes automagically
#    eval `lesspipe`

   # set a fancy prompt
   PS1='\u@\h:\w% '

   # If this is an xterm set the title to user@host:dir
   case $TERM in
   xterm*)
       PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
       ;;
   *)
       ;;
   esac

   # enable programmable completion features (you don't need to enable
   # this, if it's already enabled in /etc/bash.bashrc).
   #if [ -f /etc/bash_completion ]; then
   #  . /etc/bash_completion
   #fi
fi

Contents

15 Things You Should Give Up To Be Happy

Here is a list of 15 things which, if you give up on them, will make your life a lot easier and much, much happier. We hold on to so many things that cause us a great deal of pain, stress and suffering and instead of letting them all go, instead of allowing ourselves to be stress free and happy we cling on to them. Not anymore. Starting today we will give up on all those things that no longer serve us, and we will embrace change. Ready? Here we go:

[15 Things You Should Give Up To Be Happy]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

A Young Girl with a Big Heart and an Old Man with a Lot of Flowers

When I was very young (about ten or eleven years old), I heard that our neighbor, a retired physician, had lost his wife after a long illness. He was such a dear soul, and he had the most spectacular gardens in his backyard. The whole neighborhood could see his glorious flowers from the street. The backyard was a profusion of daisies and roses, snapdragons and lilies, hyacinths and columbines. I used to think there wasnt a flower in the world that he didnt grow.

[A Young Girl with a Big Heart and an Old Man with a Lot of Flowers]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

A Sisters Deathless Legacy of Love

After living through an experimental cancer treatment my sister Barb was left unable to work. When she was offered the opportunity to do a mission trip in India if she could come up with $3,000 - she was left thinking there was no way she could go. No way to raise the funds. She asked me to brainstorm with her as to ways she could raise money. "The only thing I can do is hug," she told me - and thus her adventure began.

[A Sisters Deathless Legacy of Love]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

The Second Glance

Have you ever cringed at the sight of a human being who is physically disfigured? David Roche, who was born with a facial disfigurement, spent years trying to hide from himself. At middle age, he discovered his inner beauty, his spirit and his strength, and he has dedicated his life to helping all people find the inner beauty within themselves and in others.

[The Second Glance]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

7 Reasons Why Not Making Mistakes Is The Biggest Mistake

The FEAR of being nothing, achieving nothing and becoming nothing should be way bigger than the fear of making mistakes.A life spent making mistakes is not only more honorable, but more useful than a life spent doing nothing. ~ George Bernard Shaw

[7 Reasons Why Not Making Mistakes Is The Biggest Mistake]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Personal tools