ChrisTitusTech / powershell-profile

Pretty PowerShell that looks good and functions almost as good as Linux terminal
577 stars 330 forks source link

Zoxide incapable on symlinks #99

Open elmoteroloco opened 1 month ago

elmoteroloco commented 1 month ago

pwsh -.- On my system the Windows Temp folders are on a ramdisk (via symbolic links) so Zoxide never manages to install. Some variant of the issue already has entries in the mod's github, that being said, the point is that every time I start pwsh, the script tries to install Zoxide because it does not detect the command mod, so before I get involved on my own, I came in case anyone here had a similar question (without luck, of course). I hope that disabling Zoxide patching when starting pwsh will fix my problem (although unfortunately, losing a lot of the packmod's functionality)

elmoteroloco commented 1 month ago

Well, the brute force solution worked quickly, at least for now. I leave the images of the 'arrangement' in case anyone else needs it:

vcode (after making a backup copy of the original version) here the 'muted' (#) lines (337 to 352) in the 'main' config script.

pwsh1 after a restart requested by the modpack, powershell acquired the desired behavior without traces of the Zoxide installation attempt, maintaining it until now I hope it helps if someone even less experienced than me needs it, and of course thank you, Titus, for your always top-notch tools and shared knowledge!!!