###################################################################### # # rc.mine File # # Sets user configuration with tcsh on Mac OS X. # Place in /Users//Library/init/tcsh # # Author: Gary Embler # Date: 03/05/02 # Shell tested: tcsh 6.10.00 # OS tested: Mac OS X 10.1.3 # ###################################################################### # # Copyright (c) 2002 Gary Embler . # All rights reserved. # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that # the above copyright notice, this permission notice, and the # following disclaimer appear on all copies. # # This software is provided by Gary Embler on an as-is basis and all # warranties expressed or implied are disclaimed. In no event shall # the author be held liable for any direct or indirect damages # however caused arising from the use of this software. # ###################################################################### # # Prompt Setup # alias setprompt 'set prompt="\\ /*********************************************************************\\ * %n@%M:%//\\ *********************************************************************/\\ $$:\! "$SHELL"> "' alias cd 'cd \!:*; setprompt' alias pd 'pushd \!:*; setprompt' alias po 'popd \!:*; setprompt' # # Commands # setprompt ###################################################################### # # aliases.mine File # # Sets user aliases with tcsh on Mac OS X. # Place in /Users//Library/init/tcsh # # Author: Gary Embler # Date: 03/05/02 # Shell tested: tcsh 6.10.00 # OS tested: Mac OS X 10.1.3 # ###################################################################### # # Copyright (c) 2002 Gary Embler . # All rights reserved. # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that # the above copyright notice, this permission notice, and the # following disclaimer appear on all copies. # # This software is provided by Gary Embler on an as-is basis and all # warranties expressed or implied are disclaimed. In no event shall # the author be held liable for any direct or indirect damages # however caused arising from the use of this software. # ###################################################################### # # General Aliases # alias cp '/bin/cp -i' alias mv '/bin/mv -i' alias rm '/bin/rm -i' # # Interactive Shell Aliases # alias f /usr/bin/finger alias help /usr/bin/man alias key /usr/bin/apropos alias clr /usr/bin/clear alias m /usr/bin/more alias h 'history \!:* | head -64 | /usr/bin/more' alias t /usr/bin/tail alias tf '/usr/bin/tail -f' alias d dirs alias md '/bin/mkdir -p' alias rd /bin/rmdir alias la '/bin/ls -FLal | /usr/bin/more' alias ls '/bin/ls -FL | /usr/bin/more' alias lf '/bin/ls -F | /usr/bin/more' alias ll '/bin/ls -FLals | /usr/bin/more' alias lr '/bin/ls -FR | /usr/bin/more' alias lt '/bin/ls -Falt | /usr/bin/more' alias opn '/bin/chmod go+r' alias shut '/bin/chmod go-r' alias close '/bin/chmod g-w,o-rwx' alias j 'jobs -l | /usr/bin/more' alias p '/bin/ps -cj | /usr/bin/more' alias pa '/bin/ps -cej | /usr/bin/more' alias pl '/bin/ps -cjl | /usr/bin/more' alias s source alias x exit alias bye logout alias quit logout alias lo logout # # Application Invocation Aliases # alias e /usr/bin/pico ###################################################################### # # environment.mine File # # Sets user environment with tcsh on Mac OS X. # Place in /Users//Library/init/tcsh # # Author: Gary Embler # Date: 03/04/02 # Shell tested: tcsh 6.10.00 # OS tested: Mac OS X 10.1.3 # ###################################################################### # # Copyright (c) 2002 Gary Embler . # All rights reserved. # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that # the above copyright notice, this permission notice, and the # following disclaimer appear on all copies. # # This software is provided by Gary Embler on an as-is basis and all # warranties expressed or implied are disclaimed. In no event shall # the author be held liable for any direct or indirect damages # however caused arising from the use of this software. # ###################################################################### # # Terminal Environment Variables and Commands # #setenv DISPLAY <0.0.0.0:0> # Insert display address # # Local Environment Variables # setenv BLOCKSIZE K setenv USR_BIN /usr/bin setenv USR_LOCAL /usr/local setenv USR_SHARE /usr/share setenv CC $USR_BIN/cpp setenv EDITOR $USR_BIN/pico #setenv TMPDIR /Volumes//var/usr/tmp # Insert disk name # # Printer Variables # setenv PRINTCAP /etc/printcap #setenv PRINTER # Insert printer name ###################################################################### # # path File # # Sets user search paths with tcsh on Mac OS X. # Place in /Users//Library/init/tcsh # # Author: Gary Embler # Date: 03/04/02 # Shell tested: tcsh 6.10.00 # OS tested: Mac OS X 10.1.3 # ###################################################################### # # Copyright (c) 2002 Gary Embler . # All rights reserved. # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that # the above copyright notice, this permission notice, and the # following disclaimer appear on all copies. # # This software is provided by Gary Embler on an as-is basis and all # warranties expressed or implied are disclaimed. In no event shall # the author be held liable for any direct or indirect damages # however caused arising from the use of this software. # ###################################################################### # # Executable Search Path # #setenv PATH "$PATH":/ # Insert first new path #setenv PATH "$PATH":/ # Insert next new path # # Library Search Path # setenv LIB /usr/lib setenv LIB "$LIB":/Users/"$USER"/lib