$ pkg update
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-1.12.0...
Extracting pkg-1.12.0: 100%
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 6 MiB 661.9kB/s 00:10
Processing entries: 100%
FreeBSD repository update completed. 32620 packages processed.
All repositories are up to date.
sh
cat << 'EOF' >> ~/.cshrc
alias ci ci -l
alias co co -l
alias df df -H
alias h history 1000
alias ls gls --color -a
alias ping ping -c 4
alias tree tree --charset=x
alias vi vim
if ($tty =~ pts) then
setenv LANG ja_JP.UTF-8
endif
if ($?prompt) then
set prompt = '%n@%M %/ > '
eval `gdircolors ~/.dircolors`
endif
EOF
exit
source ~/.cshrc