の下にある svn ソース管理のエイリアスを作成しようとしてい/usr/xxx/bin/svn
ます。.cshrc
ここで、ディレクトリの下のファイルを変更した後、エイリアスが機能しません/users/xxx
。
ここで私の.cshrc
内容は以下のようになります、
# Should all paths (even NFS, which might hang) be set up at login?
# The alias "fullpath" is available to setup your full path. It can
# also be used to change your path by changing USER_PATH above.
setenv FULLPATH true # 'true' or 'false'
###########################################################################
# Everything above this line helps configure the environment.
# This line should not be removed.
set dotdir=~/.files; if ( -f $dotdir/sys_cshrc ) source $dotdir/sys_cshrc
if ( $FULLENV != "true" && $?prompt == 0 ) exit
###########################################################################
# Everything below this line is run for interactive shells.
# If you wish the full environment even in non-interactive
# shells set FULLENV above to 'true'.
umask 022 # no write by group or other
unset autologout # disable autologout
set filec # enable filename completion
set fignore=(.o) # don't complete .o files
set history=128 # save last 128 commands
set ignoreeof # disable ^D for logout
set noclobber # disable redirect overwrite
set notify # enable immediate job notify
set prompt="${HOST}:\!> " # shell prompt format
set cdpath = (.. ~) # where cd if dir unfound
if ( $?MAIL != 0 ) then
set mail=( $MAIL ) # mail spool
endif
##
# Source other rc files after this line.
if ( -f ~/.cshrc_LOB ) source ~/.cshrc_LOB
if ( -f ~/.cshrc_BU ) source ~/.cshrc_BU
if ( -f ~/.cshrc_USER ) source ~/.cshrc_USER
source /auto/andatc/independent/shellrc-files/current/rc/.cshrc.build
set path = ( /usr/bin $path $HOME/usr/bin)
setenv LD_LIBRARY_PATH /auto/nuo-common/swtools/svn/i386/linux/0/lib:$LD_LIBRARY_PATH
setenv ANT_HOME /auto/nbv_proj/share/tools/apache-ant-1.7.1
setenv ANT_OPTS "-Xmx512m -XX:MaxPermSize=256m"
setenv JAVA_HOME /auto/nbv_proj/share/tools/jdk1.6.0_10
setenv SVN_EDITOR /usr/bin/vim
alias svn '/usr/cisco/bin/svn'
ワークスペースで svn を使用しようとすると、次の出力が得られます。
$ svn help
svn: Command not found.
$ echo $SHELL
/bin/csh
svn にアクセスするには、以下の手順に従います。
1-login to the system and pwd shows o/p :/users/rakmohan
2-then cd /ws/rakmohan-sjc/
3-then /usr/cisco/bin/svn help