Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

auto-complete weirdness



zsh 4.3.2 (amd64-portbld-freebsd6.2)

1) i plug in a USB hard drive and see this:

# ls -lh /dev/da0*
crw-r-----  1 root  operator    0, 126 Sep 10 19:11 /dev/da0
crw-r-----  1 root  operator    0, 127 Sep 10 19:11 /dev/da0a
crw-r-----  1 root  operator    0, 128 Sep 10 19:11 /dev/da0c


2) i attach an encrypted provider:

# geli attach -d /dev/da0
Enter passphrase:


3) this creates "/dev/da0.eli", which i want to mount:

# ls -lh /dev/da0*
crw-r-----  1 root  operator    0, 126 Sep 10 19:11 /dev/da0
crw-r-----  1 root  operator    0, 129 Sep 10 19:11 /dev/da0.eli


4) i type "/dev/da0<tab>" and it auto-completes to "/dev/da0s1":

# mount /dev/da0<tab>s1


why is the auto-complete giving me a non-existent file? where should i poke around to fix it? thanks...


--
        ...atom

 ________________________
 http://atom.smasher.org/
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

	"Why of course the people don't want war. Why should some
	 poor slob on a farm want to risk his life in a war when
	 the best he can get out of it is to come back to his
	 farm in one piece? Naturally, the common people don't
	 want war: neither in Russia, nor in England, nor for
	 that matter in Germany. That is understood. But after
	 all it is the leaders of the country who determine the
	 policy, and it is always a simple matter to drag the
	 people along, whether it is a democracy, or a fascist
	 dictatorship, or a parliament, or a communist
	 dictatorship... Voice or no voice, the people can always
	 be brought to the bidding of the leaders. That is easy.
	 All you have to do is to tell them they are being attacked,
	 and denounce the pacifists for lack of patriotism and
	 exposing the country to danger."
		-- Hermann Goering,
		Nazi Air Force (Luftwaffe) commander,
		at the Nuremberg Trials after World War II.




Messages sorted by: Reverse Date, Date, Thread, Author