refactor: 脚本及配置文件命名统一用 _ 分隔
将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名 改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为 nuance,并同步更新脚本内部引用与 README 路径。 Co-Authored-By: AtomCode (deepseek-v4-flash) <[email protected]>
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
#!/bin/csh
|
||||
|
||||
|
||||
if ("$1" == '') then
|
||||
echo "Which target?"
|
||||
echo " home"
|
||||
echo " office for [email protected]"
|
||||
echo " aachen for [email protected]"
|
||||
echo " xena for [email protected]"
|
||||
echo " grid for [email protected]"
|
||||
echo " menlo for [email protected]"
|
||||
echo -n ":"
|
||||
set selection=$<
|
||||
else
|
||||
set selection=$1
|
||||
endif
|
||||
|
||||
switch ($selection)
|
||||
case home:
|
||||
ssh -C -X [email protected]
|
||||
breaksw
|
||||
case office:
|
||||
ssh -C -X [email protected]
|
||||
breaksw
|
||||
case aachen:
|
||||
ssh -C -X [email protected]
|
||||
breaksw
|
||||
case xena:
|
||||
ssh -C -X [email protected]
|
||||
breaksw
|
||||
case grid:
|
||||
ssh -C -X [email protected]
|
||||
breaksw
|
||||
case menlo:
|
||||
ssh -C -X [email protected]
|
||||
breaksw
|
||||
default:
|
||||
echo "Unknown option!"
|
||||
ssh -C -X $selection
|
||||
endsw
|
||||
Reference in New Issue
Block a user