clink-zoxide icon indicating copy to clipboard operation
clink-zoxide copied to clipboard

give unquoted full path string to os.isdir() (resolve #11 and #15)

Open gotoh opened this issue 7 months ago • 0 comments

os.isdir("..") on c:\temp unexpectedly returns nil. This can be avoided by calling os.isdir() with the full path. This solves issue #15 Additionally, os.getfullpathname() expects its argument to be unquoted, so we must pass the unquoted value. This change also resolves issue #11. .

gotoh avatar Jul 17 '24 06:07 gotoh