Canop / broot

A new way to see and navigate directory trees : https://dystroy.org/broot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Changing drive letter on Windows

oshmoz opened this issue · comments

Hello,
I'm using broot as my daily Linux driver and I love it. I'm trying to use it on Windows and I can't seem to find a way to change the drive letter. Anyone has an idea?
Thanks.

Thanks for the labels. Maybe even "enhancement"?

My workaround on this is this verb:

{
	invocation: goto {path}
	execution: "br {path}"
	leave_broot: true
	from_shell: true
}

I agree, not at all elegant, but saves a few seconds... I use explicitly to change drive letters on windows. It closes and reopens broot in the new location.

@FelipeCybis useful, but my use case was to use broot to copy files from C: to Z: so I need 2 panels in 2 different drives..
I don't think quitting broot will keep the panels?

@RobertoMaurizzi My workaround does not work for your use case, which would be the most useful one, I think.

At first I wanted to do a goto that would not leave broot, but my rust knowledge is still too limited.