example16.22

来自「UNIX[1].shell范例精解(第4版)_code」· 22 代码 · 共 19 行

22
19
字号
umask 022if ($?prompt) then	if ($?tcsh) then		set prompt='[%n@%m %c]$ ' 	else		set prompt=\[`id -nu`@`hostname -s`\]\$\ 	endifendifif ( -d /etc/profile.d ) then	set nonomatch	foreach i ( /etc/profile.d/*.csh )		if ( -r $i ) then		   source $i		endif	end	unset i nonomatchendif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?