#!/bin/csh

# initcmd - host-based initial commands for convenience
# Steve Kinzler, steve@kinzler.com, Jun 21
# https://kinzler.com/me/home.html#unixcfg

# Intended to be sourced in a *csh shell to perform the typical commands
# run when one first logs into a host.

if ( $?HOST ) then
	if ( "$HOST" =~ *-build.arc-ts.* ) then
		rssh `build2xfer`
#	if ( "$HOST" =~ appops-ap-ds4a* ) then
#	#	cd /app/env; o
#		cd ~/work; gitclone appenv; cd appenv
#		setenv APPENV ~/work/appenv; +appenv
#	else if ( "$HOST" =~ biorep-* ) then
#		cd /app/jboss-current/standalone; u
#	else if ( "$HOST" =~ ctmapp-* ) then
#		cd /app/oncore; u
#	else if ( "$HOST" =~ med* ) then
#		cd /app/Apache/medinfo/conf; o
#	else
#		cd /app; u
	endif
endif
