Tab completion freezes shell

2015-01-23 Thread Artur Rataj
Hello. After typing the following, then space, then Tab, tar --exclude-vcs cBvf a.tar.bz2 the shell or whatever freezes. Best regards, Artur

Re: Directory completion problems

2012-04-23 Thread Artur Rataj
To be exact, symlink is in the directory ~/a, and it points to ~/test and there is also a directory ~/.java. So, after cd ~/a/symlink, there are two ../.java files -- one in the physical parent, and one in the logical parent. The former is a directory, the latter is a plain file. ~/a/symlink$ cd .

Re: Directory completion problems

2012-04-20 Thread Artur Rataj
...continuation: ~/.java$ cd ../a ~/a$ rm -r .java ~/a$ cd symlink ~/a/symlink$ cd ../ [now completion does not work] ~/a/symlink$ cd ../.java/ ~/.java$ So, cd looks into the logical directory, and if the lookup fails, then it looks into the physical directory. The cd completion from a symlink, t

Re: Directory completion problems

2012-04-20 Thread Artur Rataj
~/a$ mkdir .java ~/a$ cd symlink ~/a/symlink$ cd ../.java/ ~/a/.java$ ~/a/.java$ cd ../ ~/a$ rm -r .java && touch .java ~/a$ cd symlink ~/a/symlink$ cd ../.java/ ~/.java$ Should it really be like that?

Re: Directory completion problems

2012-04-19 Thread Artur Rataj
I want the logical view, and I think there is one by now. But there is a file missing in the logical directory, when cd ../ is completed from a symlink. ~/projects/art/dev$ ls -la drwxr-xr-x 6 art art 4096 2012-02-24 16:21 .bzr lrwxrwxrwx 1 art art 18 2012-04-16 14:48 lib -> ../../hth/dev/lib/

Re: Directory completion problems

2012-04-19 Thread Artur Rataj
Yes, it appears that "lib" is indeed a symlink. Is it possible to treat it as if it were "just here" with the tab completion?

Re: Directory completion problems

2012-04-19 Thread Artur Rataj
~/projects/art/dev/lib$ cd ../ .bzr/ lib/ ~/projects/art/dev/lib$ cd ../src ~/projects/art/dev/src$ cd ../ .bzr/ lib/ src/ ~/projects/art/dev/src$ cd ../lib ~/projects/art/dev/lib$ cd ../ .bzr/ lib/

Directory completion problems

2012-04-19 Thread Artur Rataj
hello, could you explain the following? ~/projects/art/dev/lib$ cd ../ .bzr/ lib/ ~/projects/art/dev/lib$ cd ../src ~/projects/art/dev/src$ Artur