bashrc configuration question: syntax error: unexpected end of file
    Noah 
    admin2 at enabled.com
       
    Tue Dec  9 13:28:18 PST 2008
    
    
  
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
    
    
More information about the freebsd-questions
mailing list