From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu From: andrey mirtchovski MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] bug in libcomplete? Date: Sat, 14 Feb 2004 08:15:41 -0700 Topicbox-Message-UUID: e3c5063a-eacc-11e9-9e20-41e7f4b1d025 libcomplete depends on 'cd' to find our which directory the user is in. this breaks its behaviour with respect to programs which implicitly chdir when started, one example is the 'window' command -- cd /tmp and run window, hit the complete key and you'll get the contents of your $home. The following example is a freshly created window in the /tmp directory: home% pwd /tmp [bin/ lib/ tmp/] home% cd `{pwd} [58 files] home% pwd shows i'm in /tmp, completion thinks i'm in $home, then the same thing after "cd `{pwd}" andrey