Index | Thread | Search

From:
Steffen Nurpmeso <steffen@sdaoden.eu>
Subject:
Re: bin/ksh: add keep-tilde completion option
To:
tech@openbsd.org
Date:
Mon, 26 Jan 2026 21:44:24 +0100

Download raw body.

Thread
Hello, interesting problem!

Kirill A. Korinsky wrote in
 <87ecncb6op.wl-kirill@korins.ky>:
 |tech@,
 |
 |this is a new optional feature for ksh: keep ~ as unexpanded for complet\
 |ion.
 |
 |Not sure does I only one who prefer to keep short path with ~ isntead \
 |expand
 |to /home/user/
 |
 |Feedbacks? Ok?

The former only -- why wouldn't you "simply" do ./~<TAB> do avoid
expansion altogether?  (Ie on case-by-case basis?)  (Having said
that, it seems bash just does not do it the way i would expect, my
mailer does, but does not iterate over a la getpwent() at all
(only expands valid ~USER, not expanding ~U to USER first, you
know).

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)