.bashrc
.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 |
Dalai Lama Awarded 2012 Templeton Prize
The Dalai Lama, the Tibetan Buddhist spiritual leader whose long-standing engagement with multiple dimensions of science and with people far beyond his own religious traditions has made him an incomparable global voice for universal ethics, nonviolence, and harmony among world religions, has won the 2012 Templeton Prize.
[Dalai Lama Awarded 2012 Templeton Prize]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
How To Let Go of Insecurities 7 Steps To Build Your Confidence
Self-worth comes from one thing thinking that you are worthy. Wayne DyerIts okay to have insecurities, we all do and its crucial for us to observe and understand the impact these insecurities have on the quality of our lives.
[How To Let Go of Insecurities 7 Steps To Build Your Confidence]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
Disney Brings "Cars" To Life With Cars Land
After five years in the making, Disney California Adventure is finally ready to rev up the engines on Cars Land. Disneys latest creation, based on the hit Pixar movie, brings the popular characters to life at Disney California Adventure.
[Disney Brings "Cars" To Life With Cars Land]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
Why Have Good When You Can Have Better?
As I look back on my life, I realize that every time I thought I was being rejected from something good, I was actually being re-directed to something better. Steve Maraboli
[Why Have Good When You Can Have Better?]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
9-yr-old Helps Disabled Brother Finish Triathlons
Over the weekend, brothers Cayden and Connor Long joined hundreds of other children as they competed in the first annual New England Kids Triathlon in Cambridge. The boys did not win the event -- they didnt even come close. But that didnt stop them from winning hearts across the Internet. The Long brothers are not your typical triathletes. Six-year-old Cayden has cerebral palsy and can neither walk nor talk. But thanks to the dedication of his older brother, Connor, the young boy has participated in several triathlons. A touching video
[9-yr-old Helps Disabled Brother Finish Triathlons]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]