Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Dec 2008 13:28:11 -0800
From:      Noah <admin2@enabled.com>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   bashrc configuration question: syntax error: unexpected end of file
Message-ID:  <493EE2EB.2070104@enabled.com>

next in thread | raw e-mail | index | archive | help
Hi there,

I am unable to figure out why I am getting the following error: "-bash: 
/Users/user/.bashrc: line 10: syntax error: unexpected end of file
localhost:~ user$"


------------ Here are the relevant hask configuration files ------

localhost:~ user$ cat .bash_profile
if [ -f ~/.bashrc ]; then
      source ~/.bashrc
fi
localhost:~ user$ cat .bashrc
#nc_fix() { sudo kill -9 $"(ps auxwww | grep [nN]cproxyd | awk '{print 
$2}')" }
nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print 
$2}') }

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
     . /etc/bash_completion
fi
localhost:~ user$



--- snip ---


Cheers,

Noah





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?493EE2EB.2070104>