duc icon indicating copy to clipboard operation
duc copied to clipboard

Print current directory to stdout when quitting GUI and UI

Open aduros opened this issue 5 years ago • 2 comments

With this it would be possible to use duc as a directory explorer and plug into all kinds of external tools.

One simple example (zshrc or bashrc):

cduc () {
    cd "`duc gui`"
}

It would also make it possible to build integrations with other file explorers like lf and ranger.

Relates to #247

aduros avatar Dec 18 '20 04:12 aduros

For duc gui that should be possible, but since the ui itself is rendered using stdout, this will not fly for duc ui

zevv avatar Dec 18 '20 07:12 zevv

Ah yeah, makes sense.

aduros avatar Dec 18 '20 17:12 aduros