Remove filesystem-dependent items in shell init.