Skip to main content

Cultured Perl: A programmer's Linux-oriented setup

Optimizing your machine for your needs

Return to article


Listing 2: my .cshrc file, part 1: shell-specific settings

# mask for new files
umask 77

# what the shell should do when TAB is pressed on a partially
# completed filename.  Ignore .o (object) and backup files,
# list all that's available, but require an exact match for completion.
set autolist
set fignore = (.o \~)
set recexact

# autologout = never
set autologout=0

# try to change into these directories, if a cd command fails
set cdpath=(~ ~/source /tmp /var/tmp )

# keep 500 history entries
set history=500

# print statistics on every process that takes over 5 seconds
set time=5

# my favorite prompt
set prompt="%S%T%s [%B$HOST\:%b %/]> "

# and here's the path we will use...
set path= ( ~/bin $path /usr/games /usr/local/bin /usr/local/enlightenment/bin /bin /usr/bin /sbin /usr/sbin)

Return to article