babarot / enhancd

:rocket: A next-generation cd command with your interactive filter
2.58k stars 109 forks source link

Add 'format' label to format custom input before passing cd #192

Closed babarot closed 1 year ago

babarot commented 1 year ago

WHAT

Add new label format to config.ltsv.

WHY

To format custom input

short:-G    long:--ghq  desc:Show ghq path  func:ghq list   condition:which ghq format:$HOME/src/%

These lines are not full path (on gif video) but it's done with no error. Because enhancd formats the selected path base on format before passing cd command.

outout

babarot commented 1 year ago

Todo