pavement

.cshrc

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(Meet The New Boss: You)
Line 25: Line 25:
  
 
[[Category:Important Config Files]]
 
[[Category:Important Config Files]]
 
== How To Make Peace With Imperfection ==
 
 
If you look closely at a tree youll notice its knots and dead branches, just like our bodies. What we learn is that beauty and imperfection go together wonderfully. Matthew Fox
 
 
[[http://goodvillenews.com/How-To-Make-Peace-With-Imperfection-AOuD91.html How To Make Peace With Imperfection]]
 
 
[[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]]
 
  
 
== Not Your Usual Panhandler ==
 
== Not Your Usual Panhandler ==

Revision as of 20:37, 9 August 2012

As you may be able to guess, this is the shell configuration file for the C-shell.

Contents

Prompts

Modifying your prompt can make your work experience more productive. Here are some common variables for customizing your C-Shell prompt:

  •  %/ - The current working directory shown as /home/user/
  •  %~ - The current working directory with your own home directory shown as "~" and other users shown as "~user"
  •  %m - The machine's hostname up until the first . (Ex: freebsd.yourdomain.com would show up as simply "freebsd")
  •  %n - Displays the username you are logged on as
  •  %M - The machine's full hostname (Ex: freebsd.yourdomain.com)
  •  %t - Shows the time in 12 hour format (Ex: 4:04pm)
  •  %T - Shows the time in 24 hour format (Ex: 16:04)
  •  %p - Shows the "precise" time of day in 12 hour format (Ex: 4:04:01)
  •  %P - Shows the "precise" time of day in 24 hour format (Ex: 16:04:01)

To experiment with various prompts, use the command set prompt. Here is an example:

% set prompt='[%t][%n@%m:%~]% '

Now your prompt looks like this:

[4:04pm][mixx941@freebsd:~]%

To make these changes permanent, you can add the "set prompt" line above into your .cshrc file. If you wish to make them global for all accounts, add that line into /etc/csh.cshrc

Not Your Usual Panhandler

Doug Eaton wanted to celebrate his birthday on June 11 in a big way, so he turned to his friends for ideas -- ended up marking the day with random acts of kindness, including handing out free money to people passing by.

[Not Your Usual Panhandler]

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

Why You Should Always Trust Yourself

Trust yourself. You know more than you think you do. Benjamin SpockAs time passes by and the more work you will do on discovering and improving yourself, the more you will realize that the ancient Latin quotation: Ne te quaesiveris extra - Do not look outside of yourself for the truth, is true.

[Why You Should Always Trust Yourself]

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

Have the Courage to Walk Alone

The woman who follows the crowd will usually go no further than the crowd. The woman who walks alone is likely to find herself in places no one has ever been before.

[Have the Courage to Walk Alone]

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

Personal tools