Date: Fri, 24 Mar 2000 04:01:44 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Justin <asmo@bck.org> Cc: questions@FreeBSD.ORG Subject: Re: tcsh .tcsh resources Message-ID: <20000324040144.A303@hades.hell.gr> In-Reply-To: <Pine.LNX.4.20.0003231651110.5267-100000@zeus.larp.com>; from asmo@bck.org on Thu, Mar 23, 2000 at 04:52:56PM -0500 References: <Pine.LNX.4.20.0003231651110.5267-100000@zeus.larp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii On Thu, Mar 23, 2000 at 04:52:56PM -0500, Justin wrote: > > Can a few of you send me a few samples of your tcshrc files, IF you > use it of course. And make sure you take anything personal out :> > Im in the process of building mine to perfection! heh I'm using the standard /bin/csh as my login shell, although for scripting I usually prefer /bin/sh or perl. I don't know if you'll find these useful at all, but my .cshrc and .login are attached :) Ciao, - Giorgos Keramidas --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dot-cshrc Content-Transfer-Encoding: quoted-printable # $Id: .cshrc,v 1.9 2000/03/23 17:15:11 charon Exp $ # # .cshrc - csh resource script, read at beginning=20 # of execution by each shell # # see also csh(1), environ(7). # # new file permissions umask 022 # aliases, aliases, aliases alias cd 'cd \!* ; pwd' alias h history 25 alias j jobs -l alias m \$PAGER alias ls /bin/ls -bAFoC alias v ls -l # even more aliases alias w3m '/usr/local/bin/w3m -no-graph' # this works with my 'hacked' version of send-pr. alias send-pr 'env MAIL_AGENT=3D"/usr/sbin/sendmail -oem -oi -t -f user@mai= l.isp.gr" /usr/bin/send-pr' # shortcuts for launching ssh's alias bug 'ssh -l charon bug.gr' alias diogenis 'ssh -l keramida diogenis.ceid.upatras.gr' alias zenon 'ssh -l keramida zenon.ceid.upatras.gr' # be paranoid alias cp 'cp -ip' alias mv 'mv -i' alias rm 'rm -i' # set the primary prompt to `HOST% ' switch ($TERM) case xterm*: set prompt =3D "=1B[34m`hostname | cut -d. -f1`%=1B[0m " breaksw default: set prompt =3D "`hostname | cut -d. -f1`% " breaksw endsw set filec # enable ESC file completion set history =3D 1024 # size of the history buffer set savehist =3D 1024 # size of saved history # user environment setup setenv BLOCKSIZE K setenv CVSROOT /home/cvs setenv EDITOR vi setenv LESSCHARSET koi8-r setenv BLOCKSIZE K setenv IRCNAME 'morto, come sempre' setenv IRCNICK charon setenv LESSCHARSET "koi8-r" setenv MM_CHARSET iso-8859-1 setenv MAIL "$HOME/mail/default" setenv NNTPSERVER localhost setenv PAGER less setenv PARINIT 'rTbgqR B=3D.?_A_a Q=3D_s>|%:#' setenv QMAILHOST "isp.gr" setenv QMAILUSER "username" setenv QMAILNAME "Giorgos Keramidas" # extra environment setup for using postgres dbms setenv PGLIB /usr/local/pgsql/lib setenv PGDATA /usr/local/pgsql/data --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dot-login # $Id: .login,v 1.6 2000/03/21 01:22:52 charon Exp $ # # .login - csh login script, read by login shell, # after `.cshrc' at login. # # see also csh(1), environ(7). # # the path for simple users set path = (/sbin /bin /usr/sbin /usr/bin /usr/games \ /usr/local/bin /usr/X11R6/bin \ /usr/local/pgsql/bin \ $HOME/bin) # ignore end-of-file for login shells set ignoreeof # personal additions to the system path set path = ($path /usr/games) # A righteous umask umask 022 # Set erase to backspace. stty erase '^H' # Print any calendar entries for today. [ -d $HOME ] && cd $HOME echo "" [ -x /usr/bin/calendar -a ./calendar ] && /usr/bin/calendar [ -x /usr/games/fortune ] && /usr/games/fortune echo "" --envbJBWh7q8WU6mo-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000324040144.A303>