Completion not working with option on cinammon 1.6

Archived topics about LMDE 1 and LMDE 2
Locked
akorx

Completion not working with option on cinammon 1.6

Post by akorx »

Hi guys !

First sorry for my bad english, i'm french :mrgreen: .

I use LMDE 201204 32 bits with cinnamon on my 2 computers. Since i've installed the last update of cinnamon (1.6), the completion with TAB doesn't work on option commands but is ok with files and folders...

Example :

Before when i typed "sudo apt-get ins + TAB", the text became "sudo apt-get install" but now it's doesnt work on my two computers ; the text stays with "sudo apt-get ins"...

I've asked a friend to verify on his computer before the installation of cinammon 1.6 and it's ok... then he has decided to setup cinnamon 1.6 and now he has the same problem...

What happens? can you try on your computers? is it a general bug :roll: ?

PS : I repeat : the completion works with files and directories. For exemple if you try "vim /etc/hos + TAB" the text becomes "vim /etc/hosts"...
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
naughty_bit

Re: Completion not working with option on cinammon 1.6

Post by naughty_bit »

Can you check if you have package bash-completion installed?
akorx

Re: Completion not working with option on cinammon 1.6

Post by akorx »

Nobody? can you try and post yours results?
akorx

Re: Completion not working with option on cinammon 1.6

Post by akorx »

naughty_bit wrote:Can you check if you have package bash-completion installed?
Hi Naughty_bit !

First thanks for your help... i've verified : bash-completion is installed... another idea?
akorx

Re: Completion not working with option on cinammon 1.6

Post by akorx »

Hi Ghuys !

No idea? can you try on your machines? i wanna know if it's a general problem when LMDE201204 32 bits and cinnamon 1.6 are a associated.
akorx

Re: Completion not working with option on cinammon 1.6

Post by akorx »

I'm back... i've found where is the problem !

After installation of cinnamon 1.6, my file /etc/bash.bashrc has changed and contained :

# enable bash completion in interactive shells
# 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
# fi

If you've got the same problem, you just have to change this line to (delete the "#") :

# enable bash completion in interactive shells
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
fi

Thank for your help guys ! and long life to mint :P !!!
Locked

Return to “LMDE Archive”