fixes to .kshrc and .tcshrc