Hi All,....

Aku mau nambahin beberapa fungsi sendiri di .bashrc (mau
kenalan dengan bash nih) Ini file .bashrc:
---
# .bashrc

# User specific aliases and functions
# Aliases
alias rm='rm -i'
alias mv='mv -i'
alias cp='cp -i'
alias s='cd ..'
alias d='ls'
alias p='cd -'
# Functions
tarc () { tar -cvzf $1.tar.gz $1}
tart () { tar -tvzf $1 |less }
tarx () { tar -xvzf $1 $2 $3 $4 $5 $6 }


# Need for a xterm & co if we don't make a -ls
[ -n $DISPLAY ] && {
        [ -f /etc/profile.d/color_ls.sh ] && source
/etc/profile.d/color_ls.sh
         export XAUTHORITY=$HOME/.Xauthority
}

# Read first /etc/inputrc if the variable is not defined,
and after the /etc/inputrc 
# include the ~/.inputrc
[ -z $INPUTRC ] && export INPUTRC=/etc/inputrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
----
tapi muncul error saat login: 
"bash: /home/dinda/.bashrc: line 30: syntax error:
unexpected end of file"

Saya baca di buku UNIX syntax bikin fungsi sih begitu.
Apakah ini berhubungan dengan .bash_profile-nya? Apa arti di
bagian "# Get the aliases and functions" ? Ini file-nya:
---
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME=""
HISTIGNORE="[   ]*:&:bg:fg"

export USERNAME BASH_ENV PATH HISTIGNORE
---

Mohon pencerahannya,

D i d a

--------------------------------------------------------------------------
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Dapatkan FAQ milis dg mengirim email kosong ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3
Pengelola dapat dihubungi lewat [EMAIL PROTECTED]

Kirim email ke