Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 396 Bytes

Elvish completions for cd

Completes directory names for the cd command.

use ./comp

edit:completion:arg-completer[cd] = (comp:sequence [[stem]{
    comp:files $stem &dirs-only
  }])