bien configurer son shell
ici vous trouverez quelques liens utiles
http://openjaguar.online.fr/?mlk=links
pour le c-shell l'équivalent de
export c'est
setenv
<font class="small">Code:</font><hr /><pre>
vi .cshrc
source /usr/local/sbin/tcsh.init
#!/bin/tcsh
# Copyright (C) 2003 OpenJaguar
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#umask 077
set path = ( $path /usr/port/bin /usr/port/sbin /usr/port/XFce4/bin /usr/port/XFce4/sbin)
setenv PATH /bin:/sbin:/usr/port/bin:/usr/port/sbin:/usr/bin:/usr/sbin:/usr/port/XFce4/bin:/usr/port/XFce4/sbin
setenv LD_LIBRARY_PATH /usr/lib:/usr/port/lib:/usr/port/XFce4/lib
setenv DYLD_LIBRARY_PATH ${LD_LIBRARY_PATH}
setenv MANPATH /usr/share/man:/usr/port/share/man
setenv INFOPATH /usr/share/info:/usr/port/share/info
unsetenv TERMCAP
setenv HOST porthost
setenv CLASSPATH /System/Library/Frameworks/JavaVM.framework/Home/lib
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Home
if ( $?prompt ) then
alias lsc '/usr/port/sbin/lscolor --color=auto'
alias mre 'more'
alias mdr 'mkdir'
alias clr 'clear'
alias safari 'open -a Safari'
alias iexplorer 'open -a Internet\ Explorer'
alias mozilla 'open -a Mozilla'
alias preview 'open -a Preview'
alias itunes 'open -a iTunes'
alias ichat 'open -a iChat'
alias iphoto 'open -a iPhoto'
alias emptytrash 'rm -R ~/.Trash/*'
endif
</pre><hr />
mais vous pouvez utilisez korn shell qui est très bien aussi
enfin ce sont des shells un peu moins rustique que le prompt