Hi Jonathan,

thanks for having a look at this issue. Here's the requested info:
thomas@debian:~$ sudo grep bash_completion ~/.* /etc/*
[sudo] password for thomas: 
/home/thomas/.bash_history:gedit /etc/bash_completion.d/git 
/home/thomas/.bash_history:reportbug bash_completion
/home/thomas/.bash_history:more bash_completion-error.txt 
/home/thomas/.bash_history:more bash_completion-error.txt 
/home/thomas/.bashrc:   #if [ -f /etc/bash_completion ]; then
/home/thomas/.bashrc:   #    . /etc/bash_completion
/home/thomas/.bashrc~:#if [ -f /etc/bash_completion ]; then
/home/thomas/.bashrc~:#    . /etc/bash_completion
/home/thomas/.bashrc.orig:#if [ -f /etc/bash_completion ]; then
/home/thomas/.bashrc.orig:#    . /etc/bash_completion
grep: /home/thomas/.gvfs: Keine Berechtigung
/home/thomas/.xsession-errors.old:/etc/bash_completion.d/grub.save: line 478: 
`_grub_script-check': not a valid identifier
/etc/bash.bashrc:if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
/etc/bash.bashrc:    . /etc/bash_completion
/etc/bash.bashrc.dpkg-old:if [ -f /etc/bash_completion ] && ! shopt -oq posix; 
then
/etc/bash.bashrc.dpkg-old:    . /etc/bash_completion
/etc/bash_completion:#   bash_completion - programmable completion functions 
for bash 3.2+
/etc/bash_completion:[ -n "$BASH_COMPLETION" ] || 
BASH_COMPLETION=/etc/bash_completion
/etc/bash_completion:[ -n "$BASH_COMPLETION_DIR" ] || 
BASH_COMPLETION_DIR=/etc/bash_completion.d
/etc/bash_completion:[ -n "$BASH_COMPLETION_COMPAT_DIR" ] || 
BASH_COMPLETION_COMPAT_DIR=/etc/bash_completion.d
/etc/bash_completion:[[ $BASH_COMPLETION != ~/.bash_completion && -r 
~/.bash_completion ]] \
/etc/bash_completion:    && . ~/.bash_completion
/etc/bash_completion.ucf-old:#   bash_completion - programmable completion 
functions for bash 3.x
/etc/bash_completion.ucf-old:#   $Id: bash_completion,v 1.872 2006/03/01 
16:20:18 ianmacd Exp $
/etc/bash_completion.ucf-old:  
BASH_COMPLETION="${BASH_COMPLETION:-/etc/bash_completion}"
/etc/bash_completion.ucf-old:  
BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/etc/bash_completion.d}"
/etc/bash_completion.ucf-old:[ $BASH_COMPLETION != ~/.bash_completion -a -r 
~/.bash_completion ] \
/etc/bash_completion.ucf-old:   && . ~/.bash_completion
/etc/profile:if [ -f /etc/bash_completion ]; then
/etc/profile:    . /etc/bash_completion

My bashrc is attached.

Thanks alot,

Thomas

Am Montag, den 17.10.2011 um 23:47 schrieb Jonathan Nieder:
> tags 645694 + moreinfo
> quit
> 
> Hi Thomas,
> 
> Thomas Mueller wrote:
> 
> > /etc/gdm3/Xsession: Beginning session setup...
> > /etc/bash_completion.d/git: line 128: syntax error near unexpected token `<'
> > /etc/bash_completion.d/git: line 128: `     done < <(git config -z 
> > --get-regexp '^(svn-remote\..*\.url|bash\.showupstream)$' 2>/dev/null | tr 
> > '\0\n' '\n ')'
> > /etc/bash_completion.d/grub: line 417: `_grub_mkpasswd-pbkdf2': not a valid 
> > identifier
> 
> Thanks for reporting it.  The bash completion script uses bash syntax,
> but it seems that in your configuration a different shell is trying to
> parse it.  Could you send your shell initialization files (~/.xsession,
> ~/.profile, ~/.bashrc, and so on)?  Actually, it might be simplest to
> try
> 
>       grep bash_completion ~/.* /etc/*
> 
> Sorry for the trouble,
> Jonathan

Attachment: dot_bashrc
Description: Binary data

Reply via email to