You are not logged in.

#1 2011-04-26 13:40:36

DrMikeDuke
Member
From: Australia
Registered: 2008-05-12
Posts: 82

bash tab completion broken

Hi all,

Probably a dumb question but google has been no help this afternoon but basically my problem is thus:
In my vnc sessions I cannot tab complete...anything at all.... yet, in putty I can tab just fine.

Some details...

bash rc file

#
if [ -f /etc/bash_completion ]; then
 . /etc/bash_completion
fi

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

system

 uname -a
Linux Kannagi 2.6.38-ARCH #1 SMP PREEMPT Fri Apr 22 20:29:33 CEST 2011 x86_64 Dual-Core AMD Opteron(tm) Processor 2214 HE AuthenticAMD GNU/Linux

shell

echo $SHELL
/bin/bash

I have everything installed I believe:

pacman

 pacman -Q |grep -i bash
bash 4.2.008-1
bash-completion 1.3-2

Any ideas? Something I'm missing?

Thanks!!

Offline

#2 2011-04-26 13:50:21

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: bash tab completion broken

Can you specify somewhere to use a login shell (bash -l)?
Normally .bashrc gets sourced by .bash_profile, and unless it's a login shell nothing will happen.


1000

Offline

#3 2011-04-26 13:54:18

DrMikeDuke
Member
From: Australia
Registered: 2008-05-12
Posts: 82

Re: bash tab completion broken

byte wrote:

Can you specify somewhere to use a login shell (bash -l)?
Normally .bashrc gets sourced by .bash_profile, and unless it's a login shell nothing will happen.

I tried running "bash -l" but the shell I get doesn't have bash completion either : (

Offline

#4 2011-04-27 11:34:35

DrMikeDuke
Member
From: Australia
Registered: 2008-05-12
Posts: 82

Re: bash tab completion broken

Maybe I should post this elsewhere?

Offline

Board footer

Powered by FluxBB