.profile
ってコトで /boot/home/ にある .profile の例です。 # から改行まではコメントと看做されるのですが、 CodeWarrior の規約に従って(笑)赤字で表記しました。ちなみに日本語で書いてある説明はいま付け足したものですのでコレをそっくりそのままコピーした場合正常に動作しないかもしれません

#
# Administrative startup for /bin/sh
# Place user customizations in /.profile
#


# set up vattr file for `ve'
#

#
# set the prompt and cd to the to our home directory
#

PS1='$ '	# プロンプトを $ に設定 
cd		# ホームディレクトリ( /boot/home/ )に移動 


#
# and now we include a few useful things...
#

#
# An almost-ksh compatible `whence' command.  This is as hairy as it is 
# because of the desire to exactly mimic ksh.
# 
# This depends somewhat on knowing the format of the output of the bash
# `builtin type' command.
#
# Chet Ramey
# chet@ins.CWRU.Edu
#

alias gcc='mwcc'	# gcc を mwcc と理解するように設定 
alias bcc='mwcc'	# 同じく bcc を mwcc と理解するように設定 
alias ls='ls -Z'	# ls を ls -Z として認識するように設定( ls-color 用)
alias open='/boot/beos/system/Tracker' # openを/boot/beos/system/Trackerとして認識するように設定
export JED_ROOT=/boot/home/Applications/jedroot# JED_ROOTディレクトリを設定
export PATH=$JED_ROOT/bin:$PATH# JED_ROOTディレクトリをパスに追加
 if [ "$FOLDER_PATH" != "" ] ; then
        cd "$FOLDER_PATH"
        unset -v FOLDER_PATH
else
        cd $HOME
fi			# 気が付いたらありました(汗) 

echo -e "^[[37m"	# テキストの色を白に設定
fortune			# foutuneを起動
echo -e "^[[m"		# テキストの色をデフォルトに設定


メールはgoro@venus.dti.ne.jpまで〜☆
BeOS Now!
このページは極一部分だけですが(笑)BeOS を使用して作成しています