rakitzis / rc

rc shell -- independent re-implementation for Unix of the Plan 9 shell (from circa 1992)
Other
258 stars 24 forks source link

Properly complete subdirs in $path #54

Closed xyb3rt closed 1 year ago

xyb3rt commented 5 years ago

Quote from the comment on the bodge mechanism:

(It would be better to persuade readline just to append the "/" as
it does for filename completion, but it's not clear to me if this is
possible.)

Readline has the rl_completion_append_character variable for exactly that.