From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dtek.chalmers.se ([129.16.30.8]) by hawkwind.utcs.toronto.edu with SMTP id <2784>; Thu, 12 Nov 1992 18:26:33 -0500 From: Stefan Axelsson Message-Id: <9211122326.AA06156@dtek.chalmers.se> Received: from hacke10.dtek.chalmers.se by dtek.chalmers.se id AA06156; Fri, 13 Nov 92 00:26:12 +0100 Received: by hacke10.dtek.chalmers.se id AA10019; Fri, 13 Nov 92 00:25:24 +0100 Subject: ~ == $home To: rc@hawkwind.utcs.utoronto.ca (The rc mailing list) Date: Thu, 12 Nov 1992 18:25:23 -0500 X-Mailer: ELM [version 2.4 PL8] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hmm, I missed the beginning of this thread, but I've avoided missing ~ == home by using cdpath, and the variable expansion feature of editline. 1) Our usernames are very regular (d7stfax, aso) and thus are well suited for inclusion in the cdpath variable. e.g: cdpath=(. /users/dtek /users/dtek/d82 /users/dtek/d83 /users/dtek/d84 \ /users/dtek/d85 /users/dtek/d86 /users/dtek/d87 /users/dtek/d88 \ /users/dtek/d89 /users/dtek/d90 /users/dtek/d91 /users/dtek/d92) Thus I can say cd d7stfax, and end up in: /users/dtek/d87/d7stfax. Of course this solution doesn't cover all contingencies like ~d7stfax would, but in practice I have had no problem with it. 2) Now there`s the annoying fact that you cannot use filename completion to complete say; $h/bin/whateve. If you have editline compiled in you can set '_H_' for instance to; /users/dtek/d87/d7stfax/, and improve the situation. Since I have a keyboard with a 'meta' shift key, I press M-Shift-h and can use filename completion from there on. OK, that's three simultanous keys, but I have no problem with that. Your command line can get quite long though. As in 1) above this isn't perfect, but it works like a charm for me. These solutions may not, for various reasons, be right for you, but then again everybodys mileage may vary. Regards, -- Stefan Axelsson, Chalmers University of Technology, d7stfax@dtek.chalmers.se Sweden