setenv VIM c:/Vim # kluge to work around the braindead tcsh implementation # that doesn't recognize .bat's as programs, but only .exe's alias bat "cmd /c" alias dt "cd c:/Documents\ and\ Settings/younje00/Desktop" # more kluges to get me to the batch files I run # regularly... alias uptime "net statistics server" alias l "ls -Fsh" alias ll "ls -lhg" alias h "history" alias :q "echo 'What a geek!'" alias gi "c:/Vim/vim70/gvim \!* &" alias vi gi alias ct "cleartool" alias mt "multitool" alias lsco "ct lsco -cvi -avo -s | sed 's,\\,/,g' | sed 's/\n//'" alias xlsvtree "cleartool lsvtree -gra \!* &" setenv VISUAL c:/Vim/vim70/gvim # crap from unix cshrc set history = 100 set nobeep if ($?tcsh) then bindkey ^W "backward-delete-word" set symlinks=chase else set filec endif setenv CLEARCASE_TRACE_TRIGGERS 0 # # prompt: # if ($?tcsh) then # this probably deserves a comment! # %c2 - show last three elements of path # %? - show return code of last command # %% - show % set prompt="--<%?>%c3%% " endif alias pd pushd alias pop popd # # aliases to help in updating aliases alias aliases 'source ~/.cshrc' alias vial 'gi ~/.cshrc ; aliases' # # general commands alias j 'jobs -l' alias lld 'll \!* | grep "^d"' alias llf 'll \!* | grep "^-"' alias lll 'll \!* | grep "^l"' alias pong "ping -sv" # muck with xterm titles. not real useful on windows # but windows has title alias header 'echo -n "]l\!*\"' alias headers 'header \!* ; iheader \!*' alias c 'cleartool' alias lshist 'c lshistory -bra main -fmt "%Sd\t\033[1m%u\033[0m\t%e\t%n\n\033[1m%c\033[0m"' alias ctdiff 'c diff -pred -ser' # # ugliness to reduce cognitive dissonance alias a: "cd a:" alias b: "cd b:" alias c: "cd c:" alias d: "cd d:" alias e: "cd e:" alias f: "cd f:" alias g: "cd g:" alias h: "cd h:" alias i: "cd i:" alias j: "cd j:" alias k: "cd k:" alias l: "cd l:" alias m: "cd m:" alias n: "cd n:" alias o: "cd o:" alias p: "cd p:" alias q: "cd q:" alias r: "cd r:" alias s: "cd s:" alias t: "cd t:" alias u: "cd u:" alias v: "cd v:" alias w: "cd w:" alias x: "cd x:" alias y: "cd y:" alias z: "cd z:" # echo finished .cshrc # pwd