bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash: /home/greenhornet/.bashrc: line 120: syntax error: unexpected


From: Greg Wooledge
Subject: Re: bash: /home/greenhornet/.bashrc: line 120: syntax error: unexpected end of file
Date: Mon, 16 Jan 2017 10:10:08 -0500
User-agent: Mutt/1.4.2.3i

On Sun, Jan 15, 2017 at 08:44:24PM +0100, Daniel Bullard wrote:
> # 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 ! shopt -oq posix; then
>   if [ -f /usr/share/bash-completion/bash_completion ]; then
>     . /usr/share/bash-completion/bash_completion
>   elif [ -f /etc/bash_completion ]; then
>     . /etc/bash_completion
>   fi

You've somehow lost the ending of this if...fi command.  You have two
nested "if" commands but you've only got one "fi".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]