Ed's Various Linux Configuration Files

This is a quick list of some configuration files. I've put these here for my own reference, such as when I'm at a foreign shell. I'm always curious about the way other folks set things up, though, so maybe it'll satisfy your curiosity or configuration needs, too.


~/.bashrc
# .bashrc

[ -f /etc/bashrc ] && source /etc/bashrc

[ -n "$PERL5LIB" ] && export PERL5LIB=$PERL5LIB:~/lib
[ -z "$PERL5LIB" ] && export PERLLIB=$PERLLIB:~/lib

alias dir=dir
unalias dir
alias vi=vi
unalias vi
alias ll='ls -lartF'
alias dir='ls -asFC'
alias cls='clear'
alias pie='perl -p -i~ -e'
alias du1='du --max-depth=1 | sort -n'

set_prompt ()
{
    local MACH=3
    # 0 black      4 blue
    # 1 red        5 magenta
    # 2 green      6 cyan
    # 3 yellow     7 white
    local USER=$MACH
    [ `id -u` = "0" ] && USER=5
    local NORM=`tput sgr0 2> /dev/null`
    local USERC=`tput setaf $USER 2> /dev/null`
    local MACHC=`tput setaf $MACH 2> /dev/null`
    local BOLD=`tput bold 2> /dev/null`
    PS1="[\[${USERC}\]\u\[${NORM}\]@\[${MACHC}\]\h\[${NORM}\]:\[${MACHC}\]\w\[${NORM}\]]\$ ";
}
set_prompt

~/.rpmmacros
%_topdir	%(echo $HOME)/rpm
%_tmppath	%{_topdir}/tmp

%packager	Ed Halley <ed@halley.cc>
%_signature	gpg
%_gpg_name	Ed Halley <ed@halley.cc>
%_gpg_path	$(echo $HOME)/.gnupg

~/.perltidyrc
# .perltidyrc : configuration file for the Perl beautification tool
# These options approximate Ed Halley <ed@halley.cc>'s Perl style.

# i/o control
--backup-and-modify-in-place
--backup-file-extension=~

# basic formatting options
--maximum-line-length=77
--indent-columns=4
--entab-leading-whitespace=8

# code indentation control
--continuation-indentation=4
--indent-closing-paren
--nooutdent-long-comments
--nooutdent-long-quotes
--nooutdent-long-lines

# whitespace control
--paren-tightness=2
--square-bracket-tightness=2
--brace-tightness=2
--block-brace-tightness=0
--nospace-terminal-semicolon
--nospace-for-semicolon
--want-left-space="= .= =~ !~ :"
--want-right-space="= .= =~ !~ ? :"
--nowant-left-space="++ -- ?"
--nowant-right-space="++ --"
--trim-qw

# semicolon controls
--noadd-semicolons
--nodelete-semicolons

# comment controls
--indent-spaced-block-comments
--minimum-space-to-comment=2
--hanging-side-comments
--noclosing-side-comments

# line break control
--nocuddled-else
--opening-brace-on-new-line
--opening-sub-brace-on-new-line
--vertical-tightness=1
--vertical-tightness-closing=0
--block-brace-vertical-tightness=0
--want-break-after="% + - * / x != == >= <= =~ !~ < > | &
                    >= < = **= += *= &= <<= &&= -= /= |=
		    >>= ||= .= %= ^= x= . << >> -> && ||"
--want-break-before=" "
--comma-arrow-breakpoints=1
--break-at-old-logical-breakpoints
--break-at-old-keyword-breakpoints
--break-at-old-trinary-breakpoints
--blanks-before-comments
--blanks-before-subs # also -packages -BEGINS, unless preceded by comment
--maximum-consecutive-blank-lines=2
--noswallow-optional-blank-lines

~/.povrayrc
All_Console=Off
Antialias_Depth=3
Antialias=On
Antialias_Threshold=0.3
Bits_Per_Color=8
Bounding=On
Bounding_Threshold=3
Buffer_Output=Off
Buffer_Size=0
Clock=0
Continue_Trace=Off
Create_Histogram=Off
Create_Ini=Off
Cyclic_Animation=Off
Debug_Console=Off
Display=On
Display_Gamma=2.2
Draw_Vistas=On
End_Column=1
End_Row=1
Fatal_Console=On
Fatal_Error_Command=
Fatal_Error_Return=I
Field_Render=Off
Final_Clock=1
Final_Frame=1
Height=480
Histogram_Name=""
Histogram_Grid_Size=0.0
Initial_Clock=0
Initial_Frame=1
Include_Header=""
Jitter_Amount=1
Jitter=On
Library_Path="/usr/share/povray-3.5"
Library_Path="/usr/share/povray-3.5/include"
Library_Path="/usr/share/povray-3.5/lgeo"
Light_Buffer=On
Odd_Field=Off
Output_Alpha=Off
Output_File_Type=n
Output_To_File=On
Palette=3
Pause_When_Done=Off
Post_Frame_Command=
Post_Frame_Return=I
Post_Scene_Command=
Post_Scene_Return=I
Preview_End_Size=1
Preview_Start_Size=1
Pre_Frame_Command=
Pre_Frame_Return=I
Pre_Scene_command=
Pre_Scene_Return=I
Quality=9
Remove_Bounds=On
Render_Console=On
Sampling_Method=2
Split_Unions=On
Start_Column=0
Start_Row=0
Statistic_Console=Off
Subset_End_Frame=1
Subset_Start_Frame=1
Test_Abort_Count=0
Test_Abort=On
User_Abort_Command=
User_Abort_Return=I
Verbose=Off
Version=3.5
Video_Mode=0
Vista_Buffer=On
Warning_Console=Off
Width=640

~/.nethackrc
#
OPTIONS=nolegacy
OPTIONS=name:Sashi,gender:female,race:elf
OPTIONS=catname:Pixel,dogname:Pooch,horsename:Ponie,pettype:cat,fruit:peach
OPTIONS=autopickup,pickup_types:$
OPTIONS=number_pad,runmode:walk,lit_corridor,nohilite_pet
OPTIONS=nomail,showexp,showscore,menustyle:partial,timed_delay
OPTIONS=disclose:+i -a +v -g +c,notombstone
#
#OPTIONS=window:X11
OPTIONS=color,large_font