免费视频|新人指南|投诉删帖|广告合作|地信网APP下载

查看: 1855|回复: 0
收起左侧

[经验共享] cshrc-gamit-配置文件

[复制链接]

4

主题

65

铜板

0

好友

技术员

Rank: 3Rank: 3

积分
47
发表于 2011-10-22 11:32 | 显示全部楼层 |阅读模式
# set prompt

set prompt = "[`echo $cwd`]% "

set history = 50

#set system path

set path = (. /bin /sbin /etc /usr/bin /usr/sbin /usr/bin/X11 /usr/X11R6/bin $path)

set path = (. /usr/local/bin /usr/local/sbin /usr/local/lib /usr/lib $path)

setenv PATH "/usr/sbin:/sbin{PATH}"

setenv MANPATH  /usr/local/man:/usr/X11R6/man

setenv LIBPATH  /usr/lib:/usr/local/lib

#set Gamit/Globk path

set gamitpath = /opt/gamit
set path = (. $gamitpath/gamit/bin $gamitpath/kf/bin $gamitpath/com $path)

setenv HELP_DIR $gamitpath/help/

#set GMT path

set gmtpath = /usr/lib/gmt/

set path = (. $gmtpath/bin $gmtpath/include $gmtpath/lib $gmtpath/man $gmtpath/share $gmtpath/www $path)

set path = (. /etc/gmt /usr/include/gmt /usr/lib/gmt /usr/share/gmt /usr/share/doc/gmt $path)

setenv MANPATH  $gmtpath/man

#set qoca path

set qocapath = /opt/qoca

set path = (. $qocapath $qocapath/templates $path)

#set full domain for GAMIT shell-scripts used to transfer data (sh_get_nav, sh_get_rinex, sh_get_orbits, and sh_get_hfiles)

set host = `\hostname | \awk -F. '{print $1}'`

set dom  = `\hostname | \awk -F. '{print $2}'`

if( $dom == '' ) then

   alias hostname 'echo $host.mit.edu'

endif

# set alias

alias cd  'cd \!*; set prompt = "[`echo $cwd`]% "'

alias pwd 'echo $cwd'

alias ls  'ls --color --classify'

alias ll  'ls -l'

alias la  'ls -a'

alias mv  'mv -i'

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

在线客服
快速回复 返回顶部 返回列表