You are not logged in.

#1 2009-03-22 02:10:06

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

MPD and autocompletion.

Hello!

Do I have to do something to enable autocompletion in MPD. For some reason it doesn't work.

It autocomplete my filesystem, not my music directory.

Have don a mpd --create-db as root, and mpc update.


Ørjan Pettersen

Offline

#2 2009-03-22 02:17:28

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: MPD and autocompletion.

Offline

#3 2009-03-22 04:02:53

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: MPD and autocompletion.

Hmm, did you mean to type mpc?


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#4 2009-03-22 06:08:49

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: MPD and autocompletion.

Gen2ly wrote:

Hmm, did you mean to type mpc?

I'm guessing that too. This should set it up:

cat /etc/bash_completion.d/mpc >> ~/.bashrc
source ~/.bashrc

Then for instance typing something like mpc -ls Sa <tab> should start listing all of the artists (in my case) that begin with Sa. It's not working here though. I remember someone else a while back trying to get this to work and it wasn't happening for them either.

Offline

#5 2009-03-22 08:35:12

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: MPD and autocompletion.

skottish wrote:

Then for instance typing something like mpc -ls Sa <tab> should start listing all of the artists (in my case) that begin with Sa. It's not working here though. I remember someone else a while back trying to get this to work and it wasn't happening for them either.

Sorry that I wasn't clear enough. This is what I was thinking of.

On my old laptop it worked, but on my new one, it doesn't. That made me believe that there might be something that I had to do to make it work.


Ørjan Pettersen

Offline

#6 2009-03-22 13:23:30

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: MPD and autocompletion.

Autocompletion for mpc also no longer works here... hmm.

Offline

#7 2009-03-22 19:44:05

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: MPD and autocompletion.

Works For Me using zsh .


English is not my native language .

Offline

#8 2009-03-22 20:09:13

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: MPD and autocompletion.

Wow. Seems that bash uses need some love:

http://bugs.archlinux.org/task/11196

Offline

Board footer

Powered by FluxBB