zfzf icon indicating copy to clipboard operation
zfzf copied to clipboard

Attempt to retain relative/absolute paths and unexpanded sequences

Open b0o opened this issue 2 years ago • 0 comments

zfzf currently expands and resolves the input path, which leads to a few undesirable behaviors:

Input                 Selection  Current Output               Desired Output
./foo/bar             qux        foo/bar/qux                  ./foo/bar/qux
~/Documents           hi.txt     /home/user/Documents/hi.txt  ~/Documents/hi.txt
/run/user/$UID/pulse  pid        /run/user/1000/pulse/pid     /run/user/$UID/pulse/pid

zfzf should try to retain as much of the user's original input as possbile.

b0o avatar Aug 16 '21 09:08 b0o